Table of Contents

Method ApplyWind

Namespace
Box3D
Assembly
Box3D.NET.dll

ApplyWind(Vector3, float, float, float, bool)

Applies an aerodynamic force to the body, based on this shape's area facing the wind.

public void ApplyWind(Vector3 wind, float drag, float lift, float maxSpeed, bool wake = true)

Parameters

wind Vector3

The wind velocity, in world space.

drag float

The drag coefficient, opposing the relative velocity.

lift float

The lift coefficient, perpendicular to the relative velocity.

maxSpeed float

The cap on relative speed. Needed for stability; ten metres per second or less is typical.

wake bool

Whether to wake the body.