Settings

constructor(gravity: DVec3 = DVec3(0.0, -9.81, 0.0))

Parameters

gravity

The gravity acceleration applied to all bodies, in meters/sec.