Usage:
rock [ axis [ angle [ frames ] ] ]

Rock will rotate the selected structures back and forth about the x, y or z axis. The default values for axis, angle, and frames are y, 3 degrees, and infinity, respectively.

The angle indicates the number of degrees the structure rotates at the fastest point in the sinusoidal period (an angle value of 9 corresponds approximately to a 90 degree arc). The cycle time for rock is approximately 2.4 seconds. This corresponds to 18 frames forward and 18 frames back (15 frames per second).

Commands continue to be processed while the requested motion is in progress. To have command processing pause until the motion is finished, use the wait command. To halt an ongoing rock, use freeze.

If rock does not work, it is likely that the target models have not been activated for motion.

See also: roll, turn, select