Break Rotation: Difference between revisions
(Updated and revisited the page) |
-u ndefined- (talk | contribs) mNo edit summary |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
|image=Break Rotation.png | |image=Break Rotation.png | ||
|type=s | |type=s | ||
|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. | ||
{{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
Type | Script block |
Collider | None |
Folder | Math |
Ports | |
---|---|
Inputs | Rotation |
Outputs | X angle Y angle Z angle |
Converts a rotation into three numbers.

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)
