How to use Gravity ODE

Yeah. I meant to say MyGame() or OdeWorld()

1 Like

You found out a mistake in 5 minutes wen the post took me half an hour to type :stuck_out_tongue_winking_eye:

1 Like

Heh, it’s easier to spot something than to type up a detailed description, after all.

Plus, I have some experience with this stuff!

1 Like

Maybe because you are changing the players pos and z twice. Any changes made to any model loaded in bullet should be done to the node path of the collision shape’s node, in this case, np.
So np is 0, 0, 2 while player is 0, -30, -12 of 0, 0, 2. If you want the position to be 0, -30, -12 then set it in np or remove the position changes in the player.

Note: in both the cases, if you want to keep the hpr, sift it to np rather than putting it on player.

EDIT: I don’t know how to exactly explain it, so don’t take this in your mind. All you do is set the pos and hpr on np rather than player. Let the rest be.