This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
sm64:macro_objects [2019/06/14 17:37] Andrey [Limitations] |
sm64:macro_objects [2019/06/14 20:57] (current) simer [Limitations] degree sign |
||
---|---|---|---|
Line 12: | Line 12: | ||
* They will always appear in every act in the level, as they don't have an act mask. | * They will always appear in every act in the level, as they don't have an act mask. | ||
* Each macro object contains a preset ID, that references a list that tells the object what model ID and behavior are. | * Each macro object contains a preset ID, that references a list that tells the object what model ID and behavior are. | ||
- | * Because the y-rotation is stored in 7 bits, it allows for a maximum range of 0 to 127. This maps to 0 to 360 in the game for the y-rotation. In order to receive the y-rotation from this number, multiply by ''2.8125''. This also means the highest accuracy available for macro objects is 2.8125º. | + | * Because the y-rotation is stored in 7 bits, it allows for a maximum range of 0 to 127. This maps to 0° to 360° in the game for the y-rotation. In order to receive the y-rotation from this number, multiply by ''2.8125''. This also means the highest accuracy available for macro objects is 2.8125°. |
---- | ---- |