void Jump( Vector3 velocity )

Summary

Adds velocity in a special way. First we subtract any opposite velocity (ie, falling) then we add the velocity, but we clamp it to that direction. This means that if you jump when you're running up a platform, you don't get extra jump power.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.