newton.BodyFlags#

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

Bases: IntEnum

Per-body dynamic state flags.

Each finalized model body must store exactly one runtime state flag: DYNAMIC or KINEMATIC. Coupled solver views may OR in PROXY on view-local body_flags overrides. ALL is a convenience filter mask for APIs such as newton.eval_fk() and is not a valid stored body state.

Experimental

PROXY and its inclusion in ALL are part of the experimental coupled-solver contract and may change without prior notice.

ALL = 7#

Filter bitmask selecting all body types.

DYNAMIC = 1#

Dynamic body that participates in simulation dynamics.

KINEMATIC = 2#

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

PROXY = 4#

View-local proxy body marker for coupled simulations.