Angle: Difference between revisions

2 bytes added ,  30 May 2020
no edit summary
(why does the game use a lookup table btw)
No edit summary
Line 9: Line 9:
An '''angular unit''' or '''angle unit''' is a unit of measurement that describes an angle, specifically yaw, pitch, and roll. An angular unit in Super Mario 64 is equal to 1/65536 of a circle. This translates to about .0055 degrees per unit, or about 182 units per degree. Since the game's trigonometry look-up table is only 1/16 as precise, two different angles may be considered the same if they both are rounded to the same value. Since 16 angular units is less than .1 degrees, this is never noticeable in regular gameplay but can come in to play in with large speed values (e.g. for [[Parallel Universe|PU]] movement).
An '''angular unit''' or '''angle unit''' is a unit of measurement that describes an angle, specifically yaw, pitch, and roll. An angular unit in Super Mario 64 is equal to 1/65536 of a circle. This translates to about .0055 degrees per unit, or about 182 units per degree. Since the game's trigonometry look-up table is only 1/16 as precise, two different angles may be considered the same if they both are rounded to the same value. Since 16 angular units is less than .1 degrees, this is never noticeable in regular gameplay but can come in to play in with large speed values (e.g. for [[Parallel Universe|PU]] movement).


[Category:Mechanics]
[[Category:Mechanics]]