Inheritance: EventDispatcher → Object3D → Line → LineSegments →
This class displays all Rapier Colliders in outline.
RapierHelper is an addon, and must be imported explicitly, see Installation#Addons.
import { RapierHelper } from 'three/addons/helpers/RapierHelper.js';
Constructs a new Rapier debug helper.
world
The Rapier world to visualize.
The Rapier world to visualize.
Frees the GPU-related resources allocated by this instance. Call this method whenever this instance is no longer used in your app.
Call this in the render loop to update the outlines.