- Home /
Stop character sliding?
Basically, I applied a Physic material to my character that had it's dynamic and static friction both set to 0 so that my character wouldn't get stuck on objects while jumping. This worked very well, I am completely satisfied with the results and I don't want to change these friction values on my physic material. However, the plane that my character is standing on is not completely flat, and because my friction is set the 0, my character slowly slides down the plane. So my question is: Is there any way to stop my character from sliding down this plane without adding friction to my character?
Answer by GasPla · Jun 22, 2017 at 11:49 PM
The short answer is no, as that's exactly the behaviour you'd expect with zero friction!
That being said, if you really like the zero friction solution, you could always set the player's friction to zero while they're jumping, then set it back to some normal values when they're not jumping.
Your answer
Follow this Question
Related Questions
Unity 5 - Sliding Rigidbodies with maximum friction 2 Answers
Increasing dynamic friction 1 Answer
How can I stop a box sliding off a platform when the platform is moved? 4 Answers
RigidBody.AddForce causes capsule collider to trip on a surface with friction 2 Answers
rigidbody friction problem....HELP!! 1 Answer