How it works...

The ActionPoint.cs script's role is to tell the character where to go and what animation to play. The PerformAction() coroutine also adjusts the character's position and rotation to match the position and rotation of the Action Point. We use the simple Lerp() function here for both the position and the rotation. In most cases, it's enough.

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

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