Implementing top view physics using box2D

Posted by humbleBee on Game Development See other posts from Game Development or by humbleBee
Published on 2011-03-06T17:59:02Z Indexed on 2011/03/07 0:18 UTC
Read the original article Hit count: 295

Filed under:
|

How can top view physics games be done in box2D? One idea I have is to set the linear velocity of an object manually or to alter the linear and angular damping as my object moves over different surfaces. For example if my object is over a wet surface it'll have less linear damping and if it is over rough surface it'll have more damping. And to see if my object has fallen over an edge I'll try to use an AABB and check if its still inside or manually see if object.x > boundary.x etc. Is there any better way?

© Game Development or respective owner

Related posts about flash

Related posts about box2d