Rotate(thing, rot_vel);
rot_vel: The rotation velocity is given in vector form. This vector gives the velocity and direction (pitch, yaw, roll) of the rotation.
Rotate() sets the current frame of the path-controlled thing to -1 while the thing rotates. When the rotation is completed, the current frame is set to 0 regardless of the frame that it was at.