@modoki/engine / index / BodyType2D
Type Alias: BodyType2D
BodyType2D =
"dynamic"|"static"|"kinematic"
Body type — mirrors Rapier's RigidBodyType (see physics2DSystem).
dynamic— moved by the solver (gravity, forces, collisions). Rapier owns its Transform.static— never moves under simulation (walls, ground). Its Transform drives Rapier.kinematic— moved by game/animation code, not forces; pushes dynamic bodies.