- Home /
Rigidbody Wall Collision Bug/Wall Jitter
So i use rb.velocity += MoveDirection.normalized; for my movement. but, it has some weird jitter when running into a wall. Like it is bouncing off/snapping onto the wall? or a little part of my collision goes into the wall and is pushed out right after.
(0:08 > 0:32 shows the problem, if the edited version isnt the live version of the video yet) https://youtu.be/O-I6eMtEnoY
anyone has any fix for this?
Try moving the rb.velocity to "Fixed Update" if you havn't already, and try turning on Interpolate in the rigid body settings.
It already is, rb collision detection is continous dynamic, i prefer extrapolate (but switching between the 2 doesnt make a difference for this bug, and i chose this because its a tad bit more responsive). the only solution right now seems to put in continous speculative, which i dont want to use because it is a bit worse, and it isnt a rotation so i dont know why it is like this.
Your answer
Follow this Question
Related Questions
Collider question 0 Answers
rigidbody It's going up and bounces when is moving 1 Answer
Camera Collision Not Working 0 Answers
How do I pass through certain colliders but detect all collisions? 1 Answer
Player Collision with objects (help) 3 Answers