Combine

From Fancade Wiki
Revision as of 14:14, 17 May 2024 by Osmo (talk | contribs) (Updated and revisited the page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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