Contents

gravity

The gravitational acceleration for the bodies in the simulation, in m/s².

Declaration

var gravity: SIMD3<Float>

Discussion

Expressed in the simulation root entity’s local coordinate space.

The default value is 9.81 m/s² in the negative Y axis direction.

See Also

Applying forces