setWorldPose method
Writes a simulated pose back. Backends call this from their interpolate step for dynamic bodies.
Implementation
@override
void setWorldPose(Vector3 translation, Quaternion rotation) {
node.globalTransform = Matrix4.compose(
translation,
rotation,
Vector3(1, 1, 1),
);
}