Box2D platformer movement. Are joints a good idea?

Posted by Romeo on Game Development See other posts from Game Development or by Romeo
Published on 2012-04-07T12:48:08Z Indexed on 2012/04/07 17:49 UTC
Read the original article Hit count: 268

Filed under:
|
|

So i smashed my brains trying to make my character move. As i wanted later in the game to add explosions and bullets it wasn't a good idea to mess with the velocity and the forces/impulses didn't work as i expected so something stuck in my mind: Is it a good idea to put at his bottom a wheel(circle) which is invisible to the player that will do the movement by rotation? I will attach this to my main body with a revolute joint but i don't really know how to make the main body and wheel body to don't collide one with each other since funny things can happen. What is your oppinion?

© Game Development or respective owner

Related posts about java

Related posts about box2d