$ ./guess_the_languageGame Dev
Game Dev · easy · #52

What does clamping the fall speed model?

velocity.y = Mathf.Max(velocity.y, -maxFall);
  1. Terminal velocity
  2. A double jump
  3. Air friction off
  4. Zero gravity
Capping downward speed stops endless acceleration, as real drag limits a falling body.
Play Game Dev ▸