Skip to main content

Module constraint

Module constraint 

Source
Expand description

VRM node-constraint data and low-level constraint evaluation.

Structs§

AimConstraint
An aim constraint: rotate the destination so aim_axis points at the source node.
NodeConstraint
A constraint applied to node_index, referencing a source node.
RollConstraint
A roll constraint: rotate the destination around roll_axis to match the source’s rotation around that same axis.
RotationConstraint
A rotation constraint: copy the source’s local rotation delta (relative to its rest pose) onto the destination.

Enums§

AimAxis
The local axis an aim constraint points at its source.
NodeConstraintKind
The kind of constraint attached to a node.
RollAxis
The axis a roll constraint rotates around.

Functions§

solve_constraints
Resolves every node constraint (aim / roll / rotation) against the given world matrices and returns the resulting rotations as BoneUpdates.