Hey
I'm trying to programm a simple 2D game where the player is a square. When he jumps i want to make him rotate. For this i want to calcualte the jump time. To let him jump i use addForce.
I found a formular: > jump_time = jump_power / gravity * 2
But it doesn't work. Can someone help me?
↧