Difference between revisions of "oapiGetAirspeed"

From OrbiterWiki
Jump to navigation Jump to search
m
(Added category.)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
Returns the airspeed of the specified vessel w.r.t. the closest planet or moon.
+
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)
  
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: Articles]]
 +
[[Category:OrbiterSDK|GetAirspeed]]
 
[[Category:Aerodynamics API|GetAirspeed]]
 
[[Category:Aerodynamics API|GetAirspeed]]

Latest revision as of 15:48, 16 October 2022

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

BOOL oapiGetAirspeed (
                     OBJHANDLE hVessel,
                     double *airspeed)

Parameters[edit]

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

Return value[edit]

Returns FALSE if the call fails.

Notes[edit]

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