Function setGravity(g: number): void Set gravity. param g - The gravity to set.since v2000.0group Physics