newton.BodyFlags#
- class newton.BodyFlags(*values)[source]#
Bases:
IntEnumPer-body dynamic state flags.
Each body must store exactly one runtime state flag:
DYNAMICorKINEMATIC.ALLis a convenience filter mask for APIs such asnewton.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.