Break Rotation: Difference between revisions

From Fancade Wiki
m (added folder)
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 2: Line 2:
|image=Break Rotation.png
|image=Break Rotation.png
|type=s
|type=s
|folder=math
|folder=Math
|input1={{Port|r}}
|input1={{Port|r}}
|output1={{Port|n}}
|output1={{Port|n|X angle}}
|output2={{Port|n}}
|output2={{Port|n|Y angle}}
|output3={{Port|n}}
|output3={{Port|n|Z angle}}
}}
}}


Converts a [[rotation]] into three [[number]]s.
Converts a [[rotation]] into three [[number]]s.


[[File:Break Rotation example.jpg|frameless|center|Example]]
{{Image|Break Rotation example.jpg|Inspection of the individual angles after breaking a rotation.}}


== Example ==
Break Rotation is rarely used in games. Its primary usage is for inverse trigonometric functions, such as arcsin, arccos, and arctan: (Excerpts from [https://play.fancade.com/5DFA8E0B24A5DA11 Fanscript])
{{Image|Break Rotation inverse trigonometry.png}}
== Related ==
* [[Make Rotation]]
* [[Break Vector]]


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

Latest revision as of 12:28, 7 June 2024

Break Rotation
Break Rotation.png
TypeScript block
ColliderNone
FolderMath
Ports
Inputs Rotation
Outputs X angle
Y angle
Z angle

Converts a rotation into three numbers.

Inspection of the individual angles after breaking a rotation.

Example

Break Rotation is rarely used in games. Its primary usage is for inverse trigonometric functions, such as arcsin, arccos, and arctan: (Excerpts from Fanscript)

Break Rotation inverse trigonometry.png

Related