ReferenceScripting APIMeshComponentbone
MeshComponent.bone
methodOne of its model's joints.
| Name | bone |
|---|---|
| Kind | method of MeshComponent |
| Called as | meshComponent.bone(…) |
| As a node | Get Bone (logic graph) |
| Since | 0.3 |
Syntax
bone(name: string): { position: Vector3; rotation: { x: number; y: number; z: number; w: number } } | nullParameters
| Name | Type | Description |
|---|---|---|
name | string | The joint's name |
Returns
{ position: Vector3; rotation: { x: number; y: number; z: number; w: number } } | null: its place and turn, or null.
See also
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.