SetGravity

Category: Global
Since engine version: 1.0 OC

Description

Sets the gravity. It is usually a good idea to set this to a multiple or a fraction of the previous value.

Syntax

void SetGravity(int gravity);

Parameter

gravity:
New gravity in 1/100 pixel/tick²
See also: GetGravity
jwk, 2002-08