Quantcast
Channel: Questions in topic: "addforce"
Viewing all articles
Browse latest Browse all 1264

Calculate jumptime

$
0
0
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?

Viewing all articles
Browse latest Browse all 1264