Skip to content

PhysicsOpts

Defined in: packages/threeplay/src/plugins/physics/types.ts:187

Options added to threeplay() by the physics plugin.

optional physics?: boolean | { gravity?: number | Vec3Like; }

Defined in: packages/threeplay/src/plugins/physics/types.ts:189

false disables physics (Rapier is not downloaded). Default true.