Difference between revisions of "oapiGetAirspeed"
Jump to navigation
Jump to search
m |
m (links) |
||
Line 1: | Line 1: | ||
− | Returns the airspeed of the specified vessel w.r.t. the closest | + | Returns the true [[Airspeed|airspeed]] of the specified [[Vessel|vessel]] w.r.t. the closest [[celestial body]]. |
BOOL oapiGetAirspeed ( | BOOL oapiGetAirspeed ( | ||
− | OBJHANDLE hVessel, | + | [[OBJHANDLE]] hVessel, |
double *airspeed) | double *airspeed) | ||
Revision as of 10:52, 7 January 2008
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.