Physics · function
colliderSurface
Explained in Your first game, Rigid bodies.
function colliderSurface(set: ColliderSet, options: ColliderSurfaceOptions): GroundSurfaceimport { colliderSurface } from '@driftengine/physics';Parameters
| Parameter | Type | Description |
|---|---|---|
set | ColliderSet | |
options | ColliderSurfaceOptions |