gastrop0d
Joined: 11 Feb 2010 Posts: 5
|
Posted: Mon Feb 15, 2010 5:48 am Post subject: Jump to targetted point |
|
|
Okay, this is really melting my brain...
I've got a player position and a target location. I want to have it so you can trigger a jump from the player to the target that has a maximum speed S, and a minimum angle O.
Target location is a simple raytrace of where ever the player is aiming.
If the target is too far away, the result jump will just be a jump at speed S and angle 45 (ie the maximum possible jump distance).
The jump must always at least be at angle O.
I basically failed projectile-motion in physics class... any idea how to implement something like this?  |
|