Physics · interface

SweptState

Anything with a planar velocity the sweep may redirect.

Explained in Your first game, Rigid bodies.

interface SweptState
import type { SweptState } from '@driftengine/physics';

Properties

NameTypeDescription
velXnumber
velZnumber