Apply Wind Force
PureApplyWindForceToProjectileApplies wind force to a projectile's velocity, accounting for drag.
Type: Pure (no side effects)
Category: Fortuna|Physics & Collision
Keywords: physics & collision
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| CurrentVelocity | FVector | — | CurrentVelocity parameter |
| WindDirection | FVector | — | WindDirection parameter |
| WindStrength | float | — | WindStrength parameter |
| DragCoefficient | float | 0.1 | DragCoefficient parameter |
| DeltaTime | float | — | DeltaTime parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| NewVelocity | FVector | NewVelocity output |
Example Use Cases
Example 1
Arrows affected by wind in an archery game.
Example 2
Leaf or particle physics with wind.