- Home /
BoxCollider don't follow model animation (Mecanim)
I'm doing some tests with mecanim and finnaly got around on how making a simple siliding door for my 2d platformer. The door responds correctly to my presence on the trigger, opening up when i'm close, closing down when i'm far. Now i'm having another problem: my door has a collider to make me able to stay on top of it, but when the door slide up, the collider stay in place, not following the animated mesh. How can i proceed in order for the collider keep up with the animations from the Mecanim system?
Thanks in advance
Answer by darthbator · Oct 16, 2013 at 10:55 PM
If you want your mecanim animations to move their coliders you'll need to have "apply root motion" checked on the animator component property. Are you using mecanim or the legacy animation system to animate the door?
Sir, sir i have applied root motion(checked) but still my colliders are not moving with my animations !
Can you please help me sir !!
Your answer
Follow this Question
Related Questions
Root Motion vs Collider issue. How to stop animation moving char through a collider? 1 Answer
Animator component makes Character fall a bit 3 Answers
How to Change the collider position while playing animation? 1 Answer
Animation Events and Mecanim 0 Answers
What is the proper way to wait for an Animator Controller to update? 1 Answer