smoothing elevator animation

Hi there guys

I just created an elevator that my player goes into, press a button and move up in the elevator. The problem is that, while you are moving up, the animation is not smooth and quite jittery. There is nothing special about the animation and the animation is relatively slow. How can I even this out?

Thanks

How are you animating it? Are you playing an animation created in a 3D modelling app, or is it scripted? If scripted, is it using physical or non-physical movement? Is it the elevator’s movement that’s jerky, or the player’s?

Hi laurie

I have used the unity animation system to do the animation. But now that you mention it, I think it is actually the player that is causing the jitter. Maybe some collider issue. Any ideas how to sort this?

Not without knowing how things are set up and what’s going wrong in more detail. Some ideas to try though: what happens if you trigger the animation without the player in the elevator, is it smooth? What if you disable your character controller while the elevator is moving (on the theory that the application of gravity is trying to move the player in the opposite direction the elevator is going, leading to excessive conflicts between character-controller-scripted movement and elevator-animation-induced movement)?