- Home /
Rigidbody Stick To Floor
Hello. Thanks to anyone who answers or comments. I have a rigid body character, with basic jump and WASD movement. Everything works fine until I run up a ramp or anything elevated. Because I am using a rigid body the velocity goes up the ramp and I fly off the ground. Is there some way that I can prevent this? I tried ray casting but that doesn't seem to work well or i did the math wrong.
Answer by gkepets · Feb 22, 2015 at 06:06 PM
On your character controller you will see slope limit and a step offset. Those might be your problem, because when a slope is to much for the character it will bounce backwards sometimes
and my problem is not bouncing, it's more like running up a ramp with a floor at the top of the ramp, but when you get to the top you keep going the direction the ramp is pointing basically, but with terrain.
Your answer
![](https://koobas.hobune.stream/wayback/20220613184030im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Keep Horizontal Momentum after Jump 2 Answers
How do I make my character jump? 1 Answer
rigidbody.Addforce the force doesnt apply? 1 Answer
Jumping from a conveyor belt with added velocity 0 Answers
Diagonal Wall Jump 0 Answers