- Home /
Question by
rickburgen · Jun 05, 2013 at 03:14 PM ·
rigidbodygravitysloperamp
Ramp for stairs causes player to slide down.
What's the best way to prevent an object from sliding down if stopped, yet not affect its movement if not stopped? I was thinking of checking the collision with the ramp, but I'm not sure what property of the rigidbody to change.
Comment
Answer by stokatyan · Aug 11, 2016 at 01:29 PM
Add a material to the capsule collider attached to your rigidbody. That fixed it for me.
Your answer
Follow this Question
Related Questions
Should my character controller slide down a ramp when I apply gravity to it? 2 Answers
Why reducing material friction doesn't make static rigidbody move with gravity 1 Answer
Preserve horizontal speed on slopes 1 Answer
How can i make my object like bouncy on finger move? 1 Answer
Gravity is not working no matter what 0 Answers