- Home /
Rigidbody moving and jerks
Hi,
I have a character in my game made with Character Controller. I want the character move against walls and ceiling, so I have replaced Character Controller with Rigidbody and trying to simulate all other staff (gravity direction etc.).
Everything going good except one thing. When I move the character with MovePosition he jerks all the time. I have tried all possible variations of Interpolate parameter and disabled collisions, but have no effect.
I know the Character Controller internally is made with the Rigidbody and it do not jerks.
What is the problem? How to solve this? Help please!
This has been asked 1000s of times, be sure to search on Character Controller, rigidbody, etc. Go to unityGE$$anonymous$$S.com for many beginner articles.
Answer by cdrandin · Jan 10, 2013 at 10:51 AM
The character Controller doesn't have a Rigidbody from what I have read in the docs. The character Controller is unique and allows the program to effect the player in a special way different from all other objects in the scene. Since "true" physics will make the player feel "not right". The rigidbody movement from what I have tested with, the jerking may be occur because of rigid edges of the model, perhaps. Try AddForce () function.
If you need some tutorials check out http://www.lynda.com/Unity-3D-tutorials/Unity-3D-35-Essential-Training/96677-2.html for very simplified explanation or check out http://cgcookie.com/unity