How do I implement smooth movement in a Box2D platform game?

Posted by Romeo on Game Development See other posts from Game Development or by Romeo
Published on 2012-04-09T18:11:33Z Indexed on 2012/04/09 23:49 UTC
Read the original article Hit count: 315

Filed under:
|
|
|

I have implemented a character in JBox2D which moves with the help of a wheel rotating at the bottom of it. The movement is the best result I've had 'till now but it's a little glitchy when the character stands on the edge. So I am thinking should I use five smaller wheels instead of a big wheel. The wheel/wheels will not be visible in the finished product, now they are drawn for debugging. Here is a video. Is there a better way to do this using JBox2D?

© Game Development or respective owner

Related posts about java

Related posts about box2d