newton.BodyFlags#
- class newton.BodyFlags(*values)[source]#
Bases:
IntEnumPer-body dynamic state flags.
Each finalized model body must store exactly one runtime state flag:
DYNAMICorKINEMATIC. Coupled solver views may OR inPROXYon view-localbody_flagsoverrides.ALLis a convenience filter mask for APIs such asnewton.eval_fk()and is not a valid stored body state.Experimental
PROXYand its inclusion inALLare 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.