Skip to content

<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>

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