Physics · function
isStaticBody
Whether a body is one a query should treat as scenery.
Explained in Your first game, Rigid bodies.
function isStaticBody(bodies: BodySet, i: number): booleanimport { isStaticBody } from '@driftengine/physics';Parameters
| Parameter | Type | Description |
|---|---|---|
bodies | BodySet | |
i | number |