Skip to content

@modoki/engine / index / BodyType3D

Type Alias: BodyType3D

BodyType3D = "dynamic" | "static" | "kinematic"

Body type — mirrors Rapier's RigidBodyType (see physics3DSystem).

  • dynamic — moved by the solver (gravity, forces, collisions). Rapier owns its Transform.
  • static — never moves under simulation (walls, ground, terrain). Its Transform drives Rapier.
  • kinematic — moved by game/animation code, not forces; pushes dynamic bodies.

Built with Modoki.