Tool.updateJoint

Sets the rotation and weight for a bone in the animation skeleton.

Kind: Function

Environments: Game

Game

tool:updateJoint( name, rotation, weight )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
tool Tool The tool.
name string The name.
rotation Vec3 The rotation.
weight (optional) number The weight. (Defaults to -1.0)