OptionalgravityWorld gravity in pixels per second². Default {x: 0, y: 320, z: 0},
about 10 m/s² at the default pixelsPerMeter of 32, pulling down: the
engine's 3D convention is Y-down (see Camera3d). Converted to meters
for Rapier.
OptionalpixelsRapier is tuned for objects about a meter across, so the adapter works
in meters and converts at every boundary (positions, velocities,
gravity, forces, queries). Default 32: a 32-pixel cube is one meter.
Raising it makes every body smaller in meters, so lighter, and the same
force moves it further; motion under gravity alone looks the same in
pixels. Must be a positive number.
OptionalsubRapier steps per engine frame, each of dt / N seconds. More sub-steps
make fast contacts and tall stacks more accurate, at about N times
the physics cost. Default 1; values below 1 are clamped to 1. A
force applied once in a frame acts across all of them.
Options accepted by the Rapier3dAdapter constructor and by Rapier3dAdapter.create.