Right-angle sliding: Difference between revisions

m
no edit summary
m (very hard to un deadend thisone)
mNo edit summary
Line 2: Line 2:


Right-Angle sliding occurs due to a mistake in the four inequalities governing Mario's turning during sliding. The difference between Mario's direction of travel and his facing angle is divided into four quadrants, and each inequality turns Mario in its own quadrant. However, the adjacent quadrants on Mario's right side both exclude a perfect right-angle, due to the use of greater-than expressions rather than greater-than-or-equal-to expressions. Because this angle fails all four inequalities, the code to change Mario's facing angle is effectively skipped.
Right-Angle sliding occurs due to a mistake in the four inequalities governing Mario's turning during sliding. The difference between Mario's direction of travel and his facing angle is divided into four quadrants, and each inequality turns Mario in its own quadrant. However, the adjacent quadrants on Mario's right side both exclude a perfect right-angle, due to the use of greater-than expressions rather than greater-than-or-equal-to expressions. Because this angle fails all four inequalities, the code to change Mario's facing angle is effectively skipped.
[[Category:Glitches]]