# Set3DPhysicsGravity

## Description

Sets the gravity of the physics world, gravity is in meters per second. Gravity is set to ( 0.0, -10.0, 0.0 ) by default. You only need to call this command if you need to change from the default setting.

## Definition

Set3DPhysicsGravity( x, y, z )

void agk::Set3DPhysicsGravity( float x, float y, float z )

Set3DPhysicsGravity( vectorID )

void agk::Set3DPhysicsGravity( UINT vectorID )

## Parameters

- X - The value of gravity on the X axis in meters per second.
- Y -
- Z - The value of gravity on the Z axis in meters per second.