When I move the player under a ramp/slope the farther I walk under the slope the more I’m pushed into the floor then I just clip through the floor. For some extra information: I’m using MovePosition to move the player. My rigidbody has continuous dynamic selected. The ramp is a regular box collider, and my player is a capsule collider. Is there any simple way to stop it from clipping under?
MovePosition is meant for Kinematic Rigidbody in 3D, not Dynamic. In Dynamic it’ll teleport it to that position. Then the solver will try to solve it, likely finding itself in an impossible situation such as having a ramp on the top and floor on the bottom; there’s no correct solution to that.
If it’s Dynamic, use forces, velocity etc.
1 Like