oapiGetAirspeed

From OrbiterWiki
Jump to: navigation, search

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

BOOL oapiGetAirspeed (
                     OBJHANDLE hVessel,
                     double *airspeed)

[edit] Parameters

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

[edit] Return value

Returns FALSE if the call fails.

[edit] Notes

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

Personal tools
Namespaces
Variants
Actions
Navigation
External
Toolbox
Google AdSense