Tip: All custom animation logic is implemented based on the Playables API.
Playable graph structure in CAS.
Base Pose and Overlays
Base Pose is the standing idle animation. This pose will be subtracted from the Animator output and added to the character Overlay as a dynamic additive animation.
Overlay Pose is a weapon, item, or action character pose. In other words, it is a pose that we want to animate dynamically at runtime.
Example: A character holding a rifle can be used as an Overlay.
An Overlay Animator Controller serves the same role as an Overlay Pose, and adds states and transitions for blending multiple overlays.
Example: To add sword draw, idle, and holster overlays, we can create a new Animator Controller that will support these states
Overlay Animator Controller example.
To access active Overlay Animator Controller in code, use:
Tip: Use this logic to update parameters in Overlay Controllers.
Overlay Animation Slot
This is a point in the playable graph where animations are played from code. You can learn more about slots and how to play animations from code here: