Skip to content

physicsSettings

const physicsSettings: object

Defined in: packages/engine/src/gameplay/physics/settings.ts:3

Name Type Default value Description
gravity number 9.8 Metres a second squared: what the Rapier world pulls a dynamic body with, and the default a World’s gravity prop starts at.
offset number 0.01 The gap Rapier keeps between her and what she touches.