updateAppliedTransform method

void updateAppliedTransform()

Computes the applied transform values from the world transform.

If the world transform is modified (by a constraint, rotateWorld, etc) then this method should be called so the applied transform matches the world transform. The applied transform may be needed by other code (eg to apply another constraint).

Some information is ambiguous in the world transform, such as -1,-1 scale versus 180 rotation. The applied transform after calling this method is equivalent to the local transform used to compute the world transform, but may not be identical.

Implementation

void updateAppliedTransform() {
  _bindings.spine_bone_update_applied_transform(_bone);
}