AnimationPriority
The AnimationPriority Enum determines how concurrently-playing AnimationTracks contribute to the final animation.
Items 7
History | Name | Value | Description | |
---|---|---|---|---|
598 | Core | 1000 | (7) - Lowest priority, intended for use by Roblox default animations and catalog animation bundles. | |
598 | Idle | 0 | (6) - Recommended priority for character idle animations. | |
598 | Movement | 1 | (5) - Recommended priority for walk, run, swim, climb, and other locomotion animations. | |
598 | Action | 2 | (4) - Recommended priority for character actions that must override idle and locomotion animations. | |
598 | Action2 | 3 | (3) - Action2 will override Action. | |
598 | Action3 | 4 | (2) - Action3 will override Action2. | |
598 | Action4 | 5 | (1) - Action4 is the highest priority available, overriding all other priority values. |
Description
When multiple AnimationTracks are played concurrently by the same Animator and affect the same animated joints, the tracks are evaluated in order from high to low priority, per joint, while the total track weight sum remains less than 1.0. When the track weight sum reaches or exceeds 1.0 for a joint, evaluation stops and no lower-priority tracks will be evaluated for that joint. AnimationTracks with the same priority that are playing concurrently will blend proportional to their track weights (normalized if the sum exceeds 1).
Higher priority animation will override lower priority ones per joint. The priority order is:
- Action4
- Action3
- Action2
- Action
- Movement
- Idle
- Core
Roblox's default character animations, including catalog animation bundles, play at Core priority. Idle through Action4 priority are for developer use.
History 16
- 598 Change Index of Movement from 1 to 2
- 598 Change Index of Idle from 0 to 1
- 598 Change Index of Core from 6 to 0
- 598 Change Index of Action4 from 5 to 6
- 598 Change Index of Action3 from 4 to 5
- 598 Change Index of Action2 from 3 to 4
- 598 Change Index of Action from 2 to 3
- 514 Change Index of Core from 3 to 6
- 514 Add Action4
- 514 Add Action3
- 514 Add Action2
- 117 Add Core
- 47 Add Movement
- 47 Add Idle
- 47 Add Action
- 47 Add AnimationPriority