Authoritative executable examples
Returns atmospheric temperature and pressure at a world point.
Sample position in local DCS coordinates and metres.
Temperature in kelvin followed by pressure in pascals.
`const [temperature, pressure] = atmosphere.getTemperatureAndPressure({ x: 0, y: 1000, z: 0 });` Copy
`const [temperature, pressure] = atmosphere.getTemperatureAndPressure({ x: 0, y: 1000, z: 0 });`
https://wiki.hoggitworld.com/view/DCS_func_getTemperatureAndPressure
Returns the steady wind vector at a world point, excluding turbulence.
Wind velocity in metres per second using world axes.
`const wind = atmosphere.getWind(unit.getPoint());` Copy
`const wind = atmosphere.getWind(unit.getPoint());`
https://wiki.hoggitworld.com/view/DCS_func_getWind
Returns instantaneous wind including turbulence. Points at or below terrain level return a zero vector.
`const wind = atmosphere.getWindWithTurbulence(unit.getPoint());` Copy
`const wind = atmosphere.getWindWithTurbulence(unit.getPoint());`
https://wiki.hoggitworld.com/view/DCS_func_getWindWithTurbulence
See
Authoritative executable examples
No Self