- Home /
Animation Child Behaviour
Hi all,
In first person shooters, I would think that, in order to implement multiple weapons, one would just activate and deactivate multiple GameObjects, one for each weapon. But I don't think one would make animations for all weapons. So I was wondering if I could develop the animations for the character mesh and then make all the weapons children of the character's hand. I was wondering if the weapons would then follow the character's hand while the animation played.
Put simply, do children of a GameObject follow the GameObject while the GameObject is being moved by an animation?
Kind regards, SpongyZetaPrime
Answer by whydoidoit · May 30, 2012 at 12:15 AM
Yes they certainly do! Your biggest problem will be ensuring that the animation doesn't cause the weapon to intersect with the body of the character's mesh.
I usually add an empty game object to the rig of my character (mixamo rig in my case) and call it "carry". Really though, you do have to watch those animations, it isn't quite as easy as it sounds.
Your answer
Follow this Question
Related Questions
Having an Animation play when close to 1st person controller 1 Answer
Where can I find free arms and hands for my game? 2 Answers
How to animate child game objects with a script according to animator's state? 0 Answers
FPS First Person animation problems 0 Answers
Animations for different weapon styles 0 Answers