Python Constants and Flags

gymapi.INVALID_HANDLE = -1

Default viewer size:

gymapi.DEFAULT_VIEWER_WIDTH = 1600
gymapi.DEFAULT_VIEWER_HEIGHT = 900

State flags:

gymapi.STATE_NONE = 0
gymapi.STATE_POS = 1
gymapi.STATE_VEL = 2
gymapi.STATE_ALL = 3

Rigid body flags:

gymapi.RIGID_BODY_NONE = 0
gymapi.RIGID_BODY_DISABLE_GRAVITY = 1
gymapi.RIGID_BODY_DISABLE_SIMULATION(PhysX only) = 2

Attractor axis flags:

gymapi.AXIS_NONE = 0
gymapi.AXIS_X = 1
gymapi.AXIS_Y = 2
gymapi.AXIS_Z = 4
gymapi.AXIS_TWIST = 8
gymapi.AXIS_SWING_1 = 16
gymapi.AXIS_SWING_2 = 32
gymapi.AXIS_TRANSLATION = 7
gymapi.AXIS_ROTATION = 56
gymapi.AXIS_ALL = 63