newton.BodyFlags#

class newton.BodyFlags(*values)[source]#

Bases: IntEnum

Per-body dynamic state flags.

Each body must store exactly one runtime state flag: DYNAMIC or KINEMATIC. ALL is a convenience filter mask for APIs such as newton.eval_fk() and is not a valid stored body state.

ALL = 3#

Filter bitmask selecting both dynamic and kinematic bodies.

DYNAMIC = 1#

Dynamic body that participates in simulation dynamics.

KINEMATIC = 2#

User-prescribed body that does not respond to applied forces.