wall.spin

Syntax

Vector Access

v = wall.spin(w<,i>)
wall.spin(w<,i>) = v

Get/set the wall angular velocity.

Returns:

v - wall angular velocity vector or component

Accepts:

v - wall angular velocity vector or component

Arguments:

w - wall pointer

i - Optional vector component that ranges from {3 to 3 in 2D; 1 to 3 in 3D}.

Component Access

f = wall.spin.x(w) (3D ONLY)
wall.spin.x(w) = f (3D ONLY)

Get/set the x-component of the wall angular velocity.

Returns:f - x-component of the wall angular velocity vector
Accepts:f - x-component of the wall angular velocity vector
Arguments:w - wall pointer
f = wall.spin.y(w) (3D ONLY)
wall.spin.y(w) = f (3D ONLY)

Get/set the y-component of the wall angular velocity.

Returns:f - y-component of the wall angular velocity vector
Accepts:f - y-component of the wall angular velocity vector
Arguments:w - wall pointer
f = wall.spin.z(w)
wall.spin.z(w) = f

Get/set the z-component of the wall angular velocity.

Returns:f - z-component of the wall angular velocity vector
Accepts:f - z-component of the wall angular velocity vector
Arguments:w - wall pointer