I’m working on a small tower defense game and I have a few general questions around tower animations.
So I have tower with a skeleton and yaw and pitch rotation animations as well as fire animation. See the attached screenshot.
The questions are:
- Let’s say that I want to start with just yaw rotation to make my tower track its targets. How can I use the “Find Look at Rotation” with my animation to make the tower face its target while the target is moving around the tower? And is this the right way to achieve what I want?
- How do I stop/pause the rotation animation at some point, play the fire animation and then continue the rotation animation?
- How do I blend yaw and pitch rotation to make my tower able to track flying targets as well?
I’ve been experimenting with blend spaces and aim offsets but I can’t seem to be able to put the animations correctly on the gird to achieve what I want. Also I’m not sure if I really need such blending, if I can do this tracking with just animation sequences.
I’d be very grateful if someone can give me a hand.