I starrted using BetterCharacterControl and now got strange problem with gravity power?
i tried so many combinations with mass, gravity values, jump forces but still no effect. My character is so light. When he moves so fast and hit to the terrain small mountain or object he’s just shoot to the up - very very high and then fall to the ground very long time.
Here’s my code. I just want make realistic gravity for typical human
public void createCharacterPhysics() {
physicControl = new BetterCharacterControl(.4f, 2f, 1f);
physicControl.setJumpForce(new Vector3f(0, 0f, -50f));
physicControl.setGravity(new Vector3f(0, 0f, -80f));
spatial.addControl(physicControl);
}
A man of mentioned “dimension” would weight twice as that (120kg).
I had similar problem with car - setting initial mass to 400. I tripled it and physics got a bit more realistic. Second thing was just to realize that the car is moving over 200km/h (~120miles). Having realized that i accepted the result as quite probable.
One thing is mass. Another (not less important) is speed at which your character moves. Take that into consideration also.