Skip to content

Search

Documentation

skeleton

Bones under a rig node: their rest pose and the order a skin numbers joints in. A bone is any node carrying bone2d or bone3d.

On this page

Bones under a rig node: their rest pose and the order a skin numbers joints in. A bone is any node carrying bone2d or bone3d.

3 functions, 0 constants. Scripts reach it as skeleton::.

Functions

Argument kinds are the script values a call passes: node is a node handle, any a table or value of any kind, fn a callback.

function acts on what it does
apply_rest(Node) — Move every bone under the node back to its rest transform.
bones(Node) -> [Node] — The bones under the node in tree order, the order a skin numbers them in, the node itself first when it is one.
overwrite_rest(Node) — Record every bone's current transform under the node as its new rest pose.

Are you sure?