Pivot: Difference between revisions

Xiivler (talk | contribs)
Explained what a pivot is, which is needed to fully explain the sideways crouch roll tech
 
Xiivler (talk | contribs)
m clarified angular velocity is during the pivot
Line 3: Line 3:
If Mario is standing still and the player holds the joystick at least 95 degrees from the direction Mario is facing, instead of beginning to walk immediately, Mario will wait two frames before rotating toward the direction the player is holding until he reaches it, then begin to walk. If the player changes the direction they are holding, Mario will rotate toward that direction instead, and if they let go of the joystick, Mario will rotate toward the most recently held joystick direction.
If Mario is standing still and the player holds the joystick at least 95 degrees from the direction Mario is facing, instead of beginning to walk immediately, Mario will wait two frames before rotating toward the direction the player is holding until he reaches it, then begin to walk. If the player changes the direction they are holding, Mario will rotate toward that direction instead, and if they let go of the joystick, Mario will rotate toward the most recently held joystick direction.


Mario’s angular velocity is given by the following equation:
Mario’s angular velocity while pivoting is given by the following equation:


angular velocity <math>=</math> .1 <math>\times</math> frame of pivot <math>\times</math> (joystick direction <math>-</math> Mario’s rotation)
angular velocity <math>=</math> .1 <math>\times</math> frame of pivot <math>\times</math> (joystick direction <math>-</math> Mario’s rotation)
Retrieved from "https://smo.wiki/Pivot"