Ok, been messing with this a couple of hours and I can’t get my brain into turbo mode 
I am having a physics world with static ground, and platforms.
I am having a ball as my character, and I can make him jump by applyLinearImpulse.
Problem is that I only want to make him jump when he is on the ground or on a platform. Not to apply more force when he is in midair.
My latest approach was to check for post collisions with ground and platform, and set a boolean variable to true. And when he jump, set the value to false. But that didn’t work either. Anyone, how has solved this before, or anyone have an idea on how to get this to work?
Best regards, Joakim [import]uid: 81188 topic_id: 19282 reply_id: 319282[/import]
