Simple Character GAme

Hi Everyone,

sorry if this has been asked 1000 times. I searched and just so many things comes up but i can't find exactly what i want.

I've been fiddling with box2d for about a month now and i think i'm getting used it to.

I was wondering if anyone can point me to a right way when creating a simple character that moves and jump ( can't pass a certain height )


The only way that i'm doing right now is just putting force to move a ball around and put a force to push the ball up but i can't seem to make it stick to a certain height then fall back down.

If anyone can help, it would be wonderful!

Thanks in Advance

-b
You can read this article http://www.emanueleferonato.com/2009/07/31/platform-engine-using-box2d-step-3/
This example based on box2d 2.0 but it is easy to port in 2.1a

Original thread: https://box2d.org/forum/viewtopic.php?t=4688