model gravity command


model gravity v3 | f

Set the gravity as a vector or float. Gravity is set in units of acceleration. Body force is calculated as the product of the gravity vector and the real mass of an object.

As a shorthand, only a single scalar value f may be specified instead. If this is done gravity is set to (0,0,-f).