rblock.angle

Syntax

f = rblock.angle(p) (2D ONLY)
rblock.angle(p) = f (2D ONLY)

Get/set the rigid block orientation. This value is incremented during cycling, and can be reset.

Returns:

f - rigid block orientation

Accepts:

f - rigid block orientation

Arguments:

p - rigid block pointer