Handle animation
Last updated
Last updated
To add a custom animator controller first create one.
Next, design the animation node based graph as you want.
There are three possible approaches:
You can assign one big runtime controller to the Animator component directly and ignore individual controllers (states).
You can use a mix between 1 and 2.
Any state can access the Animator component by using the "Animator" public property from CharacterActor.
Once you got this reference you can do whatever you want. Here is a code snippet taken from the NormalMovement state (Demo):
You can use individual runtime controllers from each state. For more information please read .