Combine: Difference between revisions

290 bytes added ,  17 May 2024
Updated and revisited the page
(Created page with "Combines two rotations into one. File:Combine1.png == Note == Note that the operation is 0%/not commutative, which means that changing the order of the [rotations](Rotation) can change the result. File:Screenshot_20220130-232951.png Category:Blocks ")
 
(Updated and revisited the page)
 
Line 1: Line 1:
Combines two rotations into one.
{{Block
|image=Combine.png
|type=s
|folder=math
|input1={{Port|r|Rot1}}
|input2={{Port|r|Rot2}}
|output1={{Port|r|Rot1 * Rot2}}
}}
Combines two [[rotation]]s into one.


[[File:Combine1.png]]
== 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.


== Note ==
[[File:Combine example.jpg|frameless|center|Order of the inputs matters]]
Note that the operation is 0%/not commutative, which means that changing the order of the [rotations](Rotation) can change the result.
[[File:Screenshot_20220130-232951.png]]




[[Category:Blocks]]
[[Category:Blocks]]