Tool.getFpBoneRot
Returns the local or world rotation for a bone in the first person view animation skeleton.
Kind: Function
Environments: Game
Game
tool:getFpBoneRot( jointName, convertToWorldSpace )
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 |
|---|---|
| Quat | The joint rotation. |