- Home /
I want to attach a collider to the imported animation
I am new to unity i want to add collider to the animating fbx imported from maya but the collider was not moving with the animation how can i come out of this problem can any one please suggest me to get out of this problem it is very urgent
Try to add an empty game object as a child to your model.. and add the collider to this "empty" child, and see if works
Answer by Yasantha · Feb 13, 2013 at 04:07 PM
its sounds like you have attached the Collider to your root of your fbx and your animation curves dont animate root. what you can do is find the top most game object that moving(change the transform values) with the Animations.
or you can generate mesh colliders on fbx import settings but mesh colliders are expensive.
I got the solution by using an empty game object as a child to that imported fbx....
Your answer
![](https://koobas.hobune.stream/wayback/20220613092627im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Colliders won't work 0 Answers
Collider problem, player falls through the level 2 Answers
OnCollisionEnter2D is not working 0 Answers
Temporarily ignore collisions between player and enemies 2 Answers