PhysicsController::SetGravityAcceleration
Defined in:
Sets the global acceleration of gravity.
C4Physics.h
Prototype
void SetGravityAcceleration(const Vector3D& acceleration);
Parameters
acceleration |
The new acceleration of gravity, in meters per second squared (m/s2). |
Description
The SetGravityAcceleration
function sets the global world-space acceleration of gravity, measured in meters per second squared (m/s2), to the vector specified by the acceleration
parameter.The initial value of the gravity acceleration is (0, 0, −9.8) m/s2.
See Also
PhysicsController::GetGravityAcceleration