threlte logo
@threlte/rapier

<Debug>

Use the Debug component to see live representations of all colliders in a scene.

<Canvas>
  <World>
    <Debug />

    <RigidBody>
      <AutoColliders>
        <Mesh
          {geometry}
          {material}
        />
      </AutoColliders>
    </RigidBody>
  </World>
</Canvas>

Component Signature

<Debug> extends <T.LineBasicMaterial> and supports all its props, slot props, bindings and events.