- Home /
Character Motor & Moving Platform Class
How do I use the Moving Platform Class in the Character Motor Script correctly and where can I find some documentation for it? Unfortunately the code section in the Moving Platform Class is not documented and my Character always jitters on a Horizontal or Vertical Moving Platform.
I created a Animation in Unity, and I moved the Platform per script with
transform.Translate(Vector3.up * Time.deltaTime)
but both methods produce a visible jitter.
Answer by GameGuy · Nov 27, 2012 at 04:02 PM
When you use Code to move a platform you should disable "Use Fixed Update" in the Character Motor Script.
When using Animations make sure you check "Animate Physics" on your Platform.
Hi, I'm using Code to move the platform but not an animation. That being said, your advice to "disable fixed update" helped me fix most of my problems. I still fall through once in a very rare while. Do you have any other advice?
Answer by thaiscorpion · Nov 26, 2012 at 04:36 PM
I have not used this Platform Class, but usually in other games I made when using moving platforms I parent the character to the platform when he lands and remove him when he jumps this way you remove all jitters. Hope this helps.
The Platform Class already parents the CC to the Platform for you, so there is no need to do that.
Your answer
![](https://koobas.hobune.stream/wayback/20220613084502im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to move a Third Person Controller with a moving platform? 0 Answers
Character x-speed drops to fast 0 Answers
Character Control stuck in parent movement. 0 Answers
AI on dynamic navmeshes and moving platforms? (Drawbridges, Elevators, Monorail trains, etc) 1 Answer
Moving platform not working 0 Answers