I am using Ogre3D as my rendering API, and OgreBullet as my physics engine.
I have an test entity that when the y part of the velocity is 0 and spacebar is pressed, the velocity changes to, lets say: (10, 10, 0) that is a forward jump.
The thing is that when it arrives to the ground, instead of staying still (like any normal human jump) it bounces like a box and changes orientation.
What would be the correct way of implementing a human-like jump in 3D? I fixed it using a if() in the update loop that sets the y-velocity to 0 if it touches the ground, but this doesn't seem the correct way of doing it.