rblock.axis.angle

Syntax

Vector Access

v = rblock.axis.angle(p<,i>) (3D ONLY)
rblock.axis.angle(p<,i>) = v (3D ONLY)

Get/set the rigid block orientation. This is taken from an axis-angle representation. This value is incremented during cycling, and can be reset.

Returns:

v - rigid block orientation vector or component

Accepts:

v - rigid block orientation vector or component

Arguments:

p - rigid block pointer

i - optional vector component

Component Access

f = rblock.axis.angle.x(p) (3D ONLY)
rblock.axis.angle.x(p) = f (3D ONLY)

Get/set the x-component of the rigid block orientation.

Returns:f - x-component of the rigid block orientation vector
Accepts:f - x-component of the rigid block orientation vector
Arguments:p - rigid block pointer
f = rblock.axis.angle.y(p) (3D ONLY)
rblock.axis.angle.y(p) = f (3D ONLY)

Get/set the y-component of the rigid block orientation.

Returns:f - y-component of the rigid block orientation vector
Accepts:f - y-component of the rigid block orientation vector
Arguments:p - rigid block pointer
f = rblock.axis.angle.z(p) (3D ONLY)
rblock.axis.angle.z(p) = f (3D ONLY)

Get/set the z-component of the rigid block orientation.

Returns:f - z-component of the rigid block orientation vector
Accepts:f - z-component of the rigid block orientation vector
Arguments:p - rigid block pointer