struct

SpringBoneChain

Spring-bone chain — secondary motion for ponytails, tails, cloth straps, antennae. bones is parent→child order where bones[i+1] is the child of bones[i]; each driven bone's "tip" is its child's animated position, simulated as a damped spring toward that rest pose with the segment length held fixed. The last listed bone only serves as the final tip and is not rotated itself.

Module
Animation
Header
#include "Animation/Procedural/ProceduralBones.h"
Namespace
Mowo

Properties

TypeNameDescription
std::vector<int32_t>bones
floatstiffnessDefault 120.0f.
floatdampingDefault 12.0f.
Vec3gravityDefault Vec3(0.0f, 0.0f, 0.0f).
floatweightDefault 1.0f.
Generated from Animation/Procedural/ProceduralBones.h via animation.json · Oct 26, 2026Version 1.0.0