Physics · function
isDynamicBody
Whether a body is one the solver may move.
Explained in Your first game, Rigid bodies.
function isDynamicBody(bodies: BodySet, i: number): booleanimport { isDynamicBody } from '@driftengine/physics';Parameters
| Parameter | Type | Description |
|---|---|---|
bodies | BodySet | |
i | number |