Sets the animation to be played by the Model.
- Number - An animation ID
- variationID (optional)
- Number - The variation ID in the animation, when a model has more than one animation for an animation ID.
myModel:SetAnimation(60); -- Play the talking animation
- Some models have more than one animation for a given animation ID (Blood Elf females for the talking animation for example). You can pass a variation ID to play a specific variation of the animation.
- When the animation is over, the model stops being animated and freezes (except for looping animations).