Physics · function

createSurfaceHit

Explained in Your first game, Rigid bodies.

function createSurfaceHit(): SurfaceHit
import { createSurfaceHit } from '@driftengine/physics';