This is not from a course btw, I just need some help on a project. I am making a zombie 3D shooter game. The first problem I have is the character is jittery when falling when he jumps but he is otherwise smooth when jumping. I have the Rigidbody set to interpolate. I have the camera move in late update. I have my movement for my character in fixed update!
The second problem is I am able to push through walls with my player. I am using a Rigidbody for my character and using .movePosition() function to move my player.
What could be the problem with both of them? If you need more info, I can give more info on the issue! THANKS!
The jittery can be a result of many things, how are you handling the movement, for instance, or how are you handling the jump, having a look a the code and some video would be nice to help you further.
For your second issue. Have you tried setting the Rigidbody’s Collision Detection to Continuos?
All of your issues are caused due to the interpolation setting according to my experiments with your code, you’ll have to change that or adjust your other objects if you truly need the rigidbody set to Interpolate.