oapiGetAirspeed

From OrbiterWiki
Revision as of 15:48, 16 October 2022 by Arvil (talk | contribs) (Added category.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Returns the true airspeed of the specified vessel w.r.t. the closest celestial body.

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.