07-02-2016 06:32 PM
Solved! Go to Solution.
07-03-2016 12:30 PM
07-03-2016 01:28 PM
07-03-2016 01:52 PM
07-03-2016 02:20 PM
07-03-2016 02:28 PM
07-03-2016 03:21 PM
07-03-2016 03:53 PM
07-03-2016 04:01 PM
vrdaveb said:
If you always want the jump to be forward, you could swap the Y and Z components of the Vector3 there. Or you could just scale the existing MoveThrottle by JumpForce. Then you would have to tweak JumpForce to get the right value.
07-03-2016 04:25 PM
vrdaveb said:
If you always want the jump to be forward, you could swap the Y and Z components of the Vector3 there. Or you could just scale the existing MoveThrottle by JumpForce. Then you would have to tweak JumpForce to get the right value.
07-03-2016 05:20 PM
what variable is the speed the player is going at a given movment.That's MoveThrottle. You could use something like the following:
MoveThrottle = Vector3.Scale(MoveThrottle, 1f + JumpForce);
Disclaimer: I haven't tested this.