Physics · type
HeightField
A field of one height per column: the consumer's own (x, z) -> y.
Explained in Your first game, Rigid bodies.
type HeightField = (x: number, z: number) => numberimport type { HeightField } from '@driftengine/physics';Physics · type
A field of one height per column: the consumer's own (x, z) -> y.
Explained in Your first game, Rigid bodies.
type HeightField = (x: number, z: number) => numberimport type { HeightField } from '@driftengine/physics';