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