Boat passing under a bridge in a 2D tile based RTS

Posted by aleguna on Game Development See other posts from Game Development or by aleguna
Published on 2012-11-16T11:06:33Z Indexed on 2012/11/16 11:14 UTC
Read the original article Hit count: 269

Filed under:
|
|
|

I'm writing a 2D tile based RTS. And I want to add a 'pseudo 3D' feature to it - bridges over the rivers.

I havent't start any coding yet, just trying to think how it fits the collision detection model. A boat passing under the bridge and a unit moving over the bridge will eventually occupy the same cell on the map. How to prement them from colliding?

Is there a common approach to solve such a problem? Or I need to implement a 3D world to do this?

© Game Development or respective owner

Related posts about 2d

Related posts about 3d