Generates wind using random values. RandomWindGenerator
is a global script and needs to be added to the scene only once.
- Strength - wind magnitude in m/s. Value will oscillate between
TargetStrength
-Strength Variation
andTargetStrength
+StrengthVariation
withStrenghtVariationSpeed
. - Direction - direction of the wind as a normalized vector. Refers to the world coordinates. Value will spherically oscillate around
TargetDirection
byDirectionVariation
.
Inherits from WindGeneratorBase
. Custom wind generators can be added by inheriting from that base class.