Tool.getFpBonePos

Returns the local or world position for a bone in the first person view animation skeleton.

Kind: Function

Environments: Game

Game

tool:getFpBonePos( jointName, convertToWorldSpace )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
tool Tool The tool.
jointName string The joint name.
convertToWorldSpace (optional) boolean Whether to convert the position to world space. (Defaults to true)

Returns:

Type Description
Vec3 The joint position.