calculateRotationDelta

public static Vector3f calculateRotationDelta(Vector3f oldDir, Vector3f newDir)

Calculates the rotation delta between two bone configurations. Uses setFromUnitVectors approach like Blockbench.

Return

Euler angles representing the rotation delta

Parameters

oldDir

Previous bone direction (normalized)

newDir

New bone direction (normalized)