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 - The value of gravity on the Y axis in meters per second.
- z - The value of gravity on the Z axis in meters per second.
- vectorID - The ID of the vector to use