Pivot: Difference between revisions
m clarified angular velocity is during the pivot |
m Fixed and updated verbiage |
||
Line 7: | Line 7: | ||
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) | ||
This means that on the first frame of the pivot, Mario will rotate 1/10th of the way toward the direction the player, rotating counterclockwise or clockwise depending on which way requires less rotation. Pivots cannot last for more than 10 frames because on the tenth frame, Mario rotates all the way to the direction | This means that on the first frame of the pivot, Mario will rotate 1/10th of the way toward the direction the player is holding on the joystick, rotating counterclockwise or clockwise depending on which way requires less rotation. Pivots cannot last for more than 10 frames because on the tenth frame, Mario rotates all the way to the joystick direction. If, at any point, Mario’s direction after the angular velocity is applied is within 5 degrees of the joystick direction, Mario’s rotation will snap to this direction and he will begin walking the next frame. | ||
Pivots can be interrupted by a [[Crouching|crouch]], [[jump]], [[cap throw]], or [[Spinning|spin]]. | Pivots can be interrupted by a [[Crouching|crouch]], [[jump]], [[cap throw]], or [[Spinning|spin]]. |