bone3d component
Makes the node a 3D bone. rest_position, rest_rotation and rest_scale are the pose a rig returns to; length draws its gizmo.
Pe această pagină
3d · animation · 4 properties · 3D
Makes the node a 3D bone. rest_position, rest_rotation and rest_scale are the pose a rig returns to; length draws its gizmo.
In a scene, bone3d is the node key that applies it. A script reaches each property below as a field on node.bone3d: reading one asks the running component, and assigning one leaves the rest alone. The whole table is node.bone3d.get() and node.bone3d.set(table).
Properties
| property | type | default | description |
|---|---|---|---|
length |
float | 0 |
Gizmo length of a tip bone; 0 draws to the first child bone At least 0. |
rest_position |
vec3 | [0,0,0] |
Local rest translation |
rest_rotation |
vec3 | [0,0,0] |
Local rest rotation, euler radians in the order rotation_euler uses |
rest_scale |
vec3 | [1,1,1] |
Local rest scale |