Login

Fancade Wiki

Updated Rotation.md (markdown)

... ...
@@ -1,3 +1,7 @@
1
Similar to [[Vector]], but with rotation instead of position! Use for spinning objects and other rotation related things. Rotations are applied in Y,X,Z order (for example, you set the camera angle to 90,0,0, and in position coordinates Y is used for up in 3D view or a overlay in 2D view and not X).
1
Similar to [[Vector]], but for rotations instead of a position. The values represent an angle from 0 to 360, though you can use any value and it will loop around, so 361 will be the same as just using a 1.
2 2
3
[[uploads/Rotation1.png | width=336px, alt=Rotation]]
... ...
\ No newline at end of file
0
[[uploads/Rotation1.png | width=336px, alt=Rotation]]
1
2
It can be used to set the rotation of a block, angle of the camera, to rotate a vector, among other things.
3
4
Rotations are applied in Y,X,Z order, this means that a block with a rotation of (45, 10, 25), will first be rotated on Y by 10°, then on x by 45°, and finally on Z by 25°. This can sometimes make it hard to get the right angle you want, so keep it in mind.
... ...
\ No newline at end of file
Fancade Wiki