Difference between revisions of "oapiGetAirspeed"

From OrbiterWiki
Jump to navigation Jump to search
m (sorting specifier)
m
Line 15: Line 15:
 
This function works even if the planet does not have an atmosphere. It returns the equivalent of airspeed.
 
This function works even if the planet does not have an atmosphere. It returns the equivalent of airspeed.
  
[[Category:API|GetAirspeed]][[Category:Aerodynamics|GetAirspeed]]
+
[[Category:API|GetAirspeed]]
 +
[[Category:Aerodynamics API|GetAirspeed]]

Revision as of 14:24, 4 March 2006

Returns the airspeed of the specified vessel w.r.t. the closest planet or moon.

BOOL oapiGetAirspeed (
                     OBJHANDLE hVessel,
                     double *airspeed)

Parameters

hVessel
vessel handle
airspeed
pointer to the variable receiving the airspeed (m/s)

Return value

Returns FALSE if the call fails.

Notes

This function works even if the planet does not have an atmosphere. It returns the equivalent of airspeed.