Character.updateAnimation

Updates a character animation.

Kind: Function

Environments: Game

Game

character:updateAnimation( name, time, weight, additive )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
character Character The character.
name string The animation name.
time number The time.
weight (optional) number The weight. Defaults to -1.0. (Optional)
additive (optional) boolean Whether the animation will be added to the default animation. Defaults to false. (Optional)