|
Aerodynamic Objects Core 2.0.0
|
Provides a prevailing wind which does not vary with position. More...
Public Member Functions | |
| override Vector3 | VelocityFunction (Vector3 position) |
| Override this function to change the way the velocity of the fluid is calculated. More... | |
Public Member Functions inherited from AerodynamicObjects.FlowPrimitive | |
| void | GetInteractionID () |
| Obtains a unique interaction ID for the object. More... | |
| virtual void | Awake () |
| virtual void | OnEnable () |
| virtual void | OnDestroy () |
| virtual void | OnDisable () |
| void | AddSelfToScene () |
| void | AcquireFluidVolume (FluidVolume fluidVolume) |
| void | RemoveFromScene () |
| Vector3 | VelocityFunction (Vector3 position, int flowAffectedID) |
| Wrapper function which first checks if the interaction should happen. More... | |
| virtual Vector3 | VelocityFunction (Vector3 position) |
| Override this function to change the way the velocity of the fluid is calculated. More... | |
| bool | IsInteractionIgnored (int flowAffectedID) |
| void | IgnoreInteraction (int flowAffectedID) |
| void | IgnoreInteraction (FlowAffected flowAffected) |
| void | AddSelfToGlobalFluid () |
| void | RemoveSelfFromGlobalFluid () |
Public Attributes | |
| DirectionalVelocity | windVelocity |
| bool | enableTurbulence = false |
| float | turbulenceMagnitude = 1f |
| Magnitude of turblent velocity in m/s More... | |
| float | turbulenceLengthScale = 1f |
| Controls how quickly turbulence changes with distance. More... | |
| float | turbulenceTimeScale = 1f |
| Controls how quickly turbulence changes with time. More... | |
| bool | xyTurbulenceOnly |
| Restricts turbulence to be in the xy plane only. More... | |
Public Attributes inherited from AerodynamicObjects.FlowPrimitive | |
| float | strengthScale = 1f |
| This value is used to scale the flow primitive behaviour. More... | |
| int | interactionID = 0 |
| The unique ID number for this flow primitive, used for identifying pairs of ignored interactions by the FlowInteractionManager. More... | |
Provides a prevailing wind which does not vary with position.
Includes an optional perlin noise turbulence model which varies the wind with position and time.
Override this function to change the way the velocity of the fluid is calculated.
| position | Position of the object in the global (earth) frame of reference. |
Reimplemented from AerodynamicObjects.FlowPrimitive.
| bool AerodynamicObjects.Flow.UniformFlow.enableTurbulence = false |
| float AerodynamicObjects.Flow.UniformFlow.turbulenceLengthScale = 1f |
Controls how quickly turbulence changes with distance.
Use a larger value for higher spatial frequency. Scaled with respect to the size of the fluid zone.
| float AerodynamicObjects.Flow.UniformFlow.turbulenceMagnitude = 1f |
Magnitude of turblent velocity in m/s
| float AerodynamicObjects.Flow.UniformFlow.turbulenceTimeScale = 1f |
Controls how quickly turbulence changes with time.
Use a larger value for higher temporal frequency. Unscaled.
| DirectionalVelocity AerodynamicObjects.Flow.UniformFlow.windVelocity |
| bool AerodynamicObjects.Flow.UniformFlow.xyTurbulenceOnly |
Restricts turbulence to be in the xy plane only.