|
Hi. I want to make climbable ladder. I have code like that:
But it doesn't work. I want to stop the character, but it only slows. What should I do to stop the character imedietly?
(comments are locked)
|
|
The third parameter in Lerp/Slerp is a number from 0 to 1. In your code it is always 0, meaning it will always return the first parameter. It's the same effect with the third parameter set to 0.25, 0.5, 0.75 and 1.
Apr 15 '10 at 10:44 PM
Rafal Sankowski
If you set the velocity to 0 (Vector3.zero) here, and it is still moving, then it must be set to non-zero somewhere else, e.g. does your PlatformerControllerMovement script know to stop moving the character?
Apr 16 '10 at 05:24 PM
Molix
(comments are locked)
|
