triggering movement animations in Unity
Playing movement animations requires passing movement values to an Animator parameter using SetFloat rather than just translating the transform.
- Movement animations will not trigger automatically from transform translation; the Animator requires an updated parameter to change states
- Retrieve the Animator component via a serialized field or GetComponent, then call SetFloat to pass the current speed value
- Blend trees or layer weights can be utilized to achieve smoother animation transitions when handling movement speed


