Physics · interface

PlanarState

Anything with a planar velocity. Declared structurally so nothing is imported either way.

Explained in Your first game, Rigid bodies.

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

Properties

NameTypeDescription
velXnumber
velZnumber