Break Rotation: Difference between revisions

From Fancade Wiki
(Created page with "/uploads/Break Rotation.png Converts a rotation into three numbers. File:Screenshot_2022-02-15-09-21-17-95_6c69499164362a0dbe2f1dfe7c62199a.jpg == 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](https://play.fancade.com/5DFA8E0B24A5DA11)) File:break-rotation-invtrig.png Category:Bl...")
 
mNo edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[width=336px,alt=Break Rotation|/uploads/Break Rotation.png]]
{{Block
|image=Break Rotation.png
|type=s
|folder=Math
|input1={{Port|r}}
|output1={{Port|n|X angle}}
|output2={{Port|n|Y angle}}
|output3={{Port|n|Z angle}}
}}


Converts a [[Number|rotation]] into three [[numbers]].
Converts a [[rotation]] into three [[number]]s.


[[File:Screenshot_2022-02-15-09-21-17-95_6c69499164362a0dbe2f1dfe7c62199a.jpg]]
{{Image|Break Rotation example.jpg|Inspection of the individual angles after breaking a rotation.}}


== Example ==
== 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](https://play.fancade.com/5DFA8E0B24A5DA11))
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])
 
[[File:break-rotation-invtrig.png]]


{{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