Physics · function
defaultTyreCurve
A curve that rises to a peak and falls away, which is what a tyre does.
Explained in Your first game, Rigid bodies.
function defaultTyreCurve(peak?: number): TyreCurveimport { defaultTyreCurve } from '@driftengine/physics';Parameters
| Parameter | Type | Description |
|---|---|---|
peak? | number |