# Debug commands of @ferret/physics

Call with `world.commands.execute(name, args)`; `world.commands.list()` on the running game is the authority. Read from the sources of these packages.

- `body.impulse` — push a body: {entity, impulse:[x,y,z], at?:[x,y,z]}
- `body.state` — state of a rigid body: {entity} -> position, velocity, spin, mass, sleeping
- `physics.configure` — apply a physics block: {capabilities?, materials?, pairs?, combine?, gravity?, <capability>?}
- `physics.disable` — switch a capability off: {name}
- `physics.enable` — switch a capability on: {name, values?}
- `physics.info` — the physics host: kernel, capabilities (registered, on), materials, bodies
- `physics.materials` — the materials table
