I finally found the problem and it's nothing to do with that code, it's a scale problem.Ogre has a ver big scale and my character had 60 units tall, since Havok 1 unit = 1 meter, my player had 60 meters tall and the level map was even bigger.After rescaling them, all the changes i make in speed and jump height are visible.