C4 Engine
C4 Engine API Documentation

class WindForce

Defined in:  C4Forces.h
The WindForce class exerts a wind drag force on rigid bodies inside a field.
Definition

class WindForce : public Force

Constructor

WindForce();

Description
The WindForce class represents a wind force that produces drag inside a field. When a rigid body intersects a field to which a WindForce object is assigned, the wind force calculates a drag force based on the volume of the rigid body, the rigid body's drag multiplier, and the difference between the rigid body's velocity and the wind velocity.
Base Classes
Force A wind force is a specific type of force.
See Also

BodyController::GetWindDragMultiplier

BodyController::SetWindDragMultiplier