oapiGetAirspeed

From OrbiterWiki
Revision as of 22:34, 22 July 2005 by RaMan (talk | contribs) (minor formatting)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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.