RigidBodyController::SetLinearVelocity
Defined in:
Sets the current linear velocity of a rigid body.
C4Physics.h
Prototype
void SetLinearVelocity(const Vector3D& velocity);
Parameters
velocity |
The new linear velocity, in world-space coordinates. |
Description
The SetLinearVelocity
function sets the current linear velocity for a rigid body to that specified by the velocity
parameter. The velocity vector is specified in world-space coordinates, and it is measured in meters per second (m/s).
See Also
RigidBodyController::GetLinearVelocity
RigidBodyController::GetAngularVelocity
RigidBodyController::SetAngularVelocity