BodyController::SetWindDragMultiplier
Defined in:
Sets the wind drag multiplier for a body.
C4Body.h
Prototype
void SetWindDragMultiplier(float multiplier);
Parameters
multiplier |
The new wind drag multiplier. |
Description
The SetWindDragMultiplier
function sets the wind drag multiplier for a body to the value specified by the multiplier
parameter. The wind drag multiplier scales the drag force exerted on a body by the WindForce
class in particular, and any custom force fields involving airflow. A value of 1.0 means that the ordinary drag force is applied, while values higher or lower than 1.0 mean that proportionately more or less drag is applied. If the drag multiplier is 0.0, then no drag is applied to the body at all.The initial value of the wind drag multiplier is 1.0.
See Also
BodyController::GetWindDragMultiplier
BodyController::GetFluidDragMultiplier