This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| cw4:tutorials:rotation_conversion [2021/01/09 23:43] – Sanian | cw4:tutorials:rotation_conversion [2025/02/14 14:57] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | < | + | < |
| + | <=[[cw4:Tutorials]] | ||
| ====== Converting between different kinds of rotation ====== | ====== Converting between different kinds of rotation ====== | ||
| Line 31: | Line 32: | ||
| ===== The difference between Unity rotation and mathematical rotation ===== | ===== The difference between Unity rotation and mathematical rotation ===== | ||
| - | **TLDR; | + | **TLDR; |
| - | Even though units are normally locked to the grid, the game allows us to rotate them by any amount. Lets try to give a unit a Y rotation of 30°, which should make them point slightly up and to the right just like the image of the section above. | + | Even though units are normally locked to the grid, the game allows us to rotate them by any amount. Lets try to give a unit a Y rotation of 30°, which should make them point slightly up and to the right, just like the image of the section above. |
| <code 4rpl> | <code 4rpl> | ||