Difference between revisions of "DCS func getWindWithTurbulence"

From DCS World Wiki - Hoggitworld.com
m (1 revision imported)
 
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
|fName= getWindWithTurbulence
 
|fName= getWindWithTurbulence
  
|vNum= 1.2.0
+
|vNum= 1.2.6
  
 
|par1= [[DCS_singleton_atmosphere|atmosphere]]
 
|par1= [[DCS_singleton_atmosphere|atmosphere]]
Line 17: Line 17:
 
|rtnType= vec3
 
|rtnType= vec3
  
|rtnExample= vec3
+
|rtnExample= { ["y"] = 0.03367256503866, ["x"] = 2.0073974820325, ["z"] = 3.0021618733208, }
  
 
|reqType1= table
 
|reqType1= table
Line 39: Line 39:
 
|examples=  
 
|examples=  
  
|notes=  
+
|notes= Returns wind values of 0 when the point is below or directly on ground level.
 
}}
 
}}
 
[[Category:Singleton Functions|getWindWithTurbulence]]
 
[[Category:Singleton Functions|getWindWithTurbulence]]
 +
[[Category:Game Patch 1.2.6|getWindWithTurbulence]]

Latest revision as of 06:50, 17 March 2022

Scripting Root

Envrioment: Mission Scripting
Function: getWindWithTurbulence Added with: 1.2.6
Member Of: atmosphere
Syntax: vec3 atmosphere.getWindWithTurbulence(table vec3 )
Description: Returns a velocity vector of the wind at a specified point, this time factoring turbulence into the equation.


Return Value: vec3
Return Example: { ["y"] = 0.03367256503866, ["x"] = 2.0073974820325, ["z"] = 3.0021618733208, }
Examples:
Related Functions: atmospherefunctions: getWind, getWindWithTurbulence, getTemperatureAndPressure
Notes: Returns wind values of 0 when the point is below or directly on ground level.