We are using a similar principle as used in the Using root motion to create flying characters recipe in Chapter 4, Character Movement. Our script calculates the angles between our target and our character's forward axis. Then it assigns those angles as parameters in the controller. The Blend Tree uses those parameters to blend between nine directional aim animations.