RotatePivot
Rotates a thing 90 degrees around the x axis1 of one of its frames. When the command is given, the current frame of the thing
is set to 0. If another RotatePivot() command is given before the first finishes, the thing is given a current frame of -1 and the old
command is discarded. The new command starts where the old one left off and the original 90 degree exactness will be lost. Syntax:
RotatePivot(thing, frame, time);
time: This is the flex time in seconds that the thing is given to complete the rotation. You can use
short times, but not zero. If you use zero, RotatePivot() will use one second instead.
1Draw a line along the x axis straight through the frame's position. The object will rotate around this line.