making a softbody jump in BGE

hi there, I was wondering if it was possible to make a softbody object jump in game by pressing the ‘spacebar’ or whatever key you want it to.

So far I made the object (Ball) completely moveable except I cannot make it jump. I suppose because it is a softbody, is there a way to do this with a script of some sort? Also, you cannot rotate the softbody object in game.

any help would be appriciated. -Cheers.

UPDATE: I figured out how to make it jump, is there a way to limit how high it can jump?
Still can’t figure out how to make the object rotate in game by hitting either ‘a’ or ‘d’ (movement keys using WASD)

I don’t think you can use dLoc, dRot, or position or orientation in-game. It’s a known bug, I think. For keeping the object from jumping so high, you should be able to just apply the amount of force necessary to jump the necessary height.

Add a -z force on an “Always” brick and that should help!

Ah ok thanks guys

@Joeman16, you cannot use dLoc, dRot in game on a softbody, I am using force to move forward, backward, left and right. But once again, thanks for the help -Cheers.