Character.setMovementWeights

Sets the weights for movement animations on a character's upper and lower body.

Kind: Function

Environments: Game

Game

character:setMovementWeights( lower, upper )

Open the full Game reference

Availability: Client only

For a value of 0 no movement animations will play, and for a value of 1 the movement animations will fully play unless otherwise overridden.

Parameters:

Name Type Description
character Character The character.
lower number The lower weight.
upper number The upper weight.