Combine

From Fancade Wiki
Combine
Combine.png
TypeScript block
ColliderNone
FolderMath
Ports
Inputs Rot1
Rot2
Outputs Rot1 * Rot2

Combines two rotations into one.

Notes

  • Rotations are combined in the order Y, X, Z, which means Rot1 is first rotated around the Y axis by the Y value of Rot2, then the X axis, then the Z axis.
  • The operation is not commutative, which means that changing the order of the rotations can change the result.
Order of the inputs matters
Order of the inputs matters