Animate RTS building with worker
I'm thinking about a way to best assign a worker to a building and animate their interaction in a 3D RTS style game.
What I mean is for example: If I have a sawmill building, I would like to animate a NPC worker to move the saw. Or in a smithy, where a worker hammers on an amboss.
Now I see 2 options: Either keep the building and the worker separate. So I have a building game object and a worker game object and I tell the worker in a script, where to go within the building and what to do. This seems very error prone for synchronizing building and worker animations and rather complicated however.
The other option is to use only one GameObject where the worker is already in the building model integrated and the animation was created together with the building in e.g. Blender. This seems easier, although the worker would not be a real NPC that for example cannot be shot by an arrow. This drawback would be acceptable however.
Which way would you recommend to go and why? Or is there a better way to do this? Sorry, kinda new terrain for me.
Your answer
Follow this Question
Related Questions
Problem: My animations like rolling do not roll far at all 0 Answers
Rotating 2D Sprite 0 Answers
Animator Position VS Script Vector 3 0 Answers
Method for Flightpath Trajectory 0 Answers