Physics · interface

BuoyantState

Anything with a velocity. Declared structurally so nothing is imported in either direction.

Explained in Your first game, Rigid bodies.

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

Properties

NameTypeDescription
velXnumber
velYnumber
velZnumber