- Home /
Best way to animate a guy putting on a hat
How to animate a guy putting on a hat? In the beginning, the hat is on his hand. After a while the hat is on hid head. This means the hat will get different parents during this animation What is the easiest way to do that?
Answer by donutkeith · Nov 23, 2013 at 08:10 AM
Best way I know of is too make an animation of him putting the hat on his head. Then in UnityScript or C# keep track of the state[in hand or on head] with a boolean variable or something then after the **animation** plays change the **parent**. You could then even play the animation in reverse to have him take the hat off. That should work.
Your answer
Follow this Question
Related Questions
How can I attach a gameobject to another without changing its scale. 1 Answer
make parent of animated game object follow the game object's animation 0 Answers
parenting instantiated object 2 Answers
Mesh Collider Does not rotate with Mesh 2 Answers
Creating new Transform from existing objects Transform to Instantiate object 1 Answer