How it works...

We are using a similar principle as used in the Using root motion to create flying characters recipe in Chapter 4Character 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.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.133.146.47