UNIT - added get altitude function with AGL option

This commit is contained in:
Applevangelist
2022-07-25 08:12:28 +02:00
parent a37d4214c0
commit 3c5f3d6c37
2 changed files with 22 additions and 2 deletions

View File

@@ -537,7 +537,7 @@ function POSITIONABLE:GetBoundingRadius( MinDist )
return nil
end
--- Returns the altitude of the POSITIONABLE.
--- Returns the altitude above sea level of the POSITIONABLE.
-- @param Wrapper.Positionable#POSITIONABLE self
-- @return DCS#Distance The altitude of the POSITIONABLE.
-- @return #nil The POSITIONABLE is not existing or alive.
@@ -779,7 +779,7 @@ function POSITIONABLE:GetRelativeVelocity( Positionable )
return UTILS.VecNorm( vtot )
end
--- Returns the POSITIONABLE height in meters.
--- Returns the POSITIONABLE height above sea level in meters.
-- @param Wrapper.Positionable#POSITIONABLE self
-- @return DCS#Vec3 The height of the POSITIONABLE in meters.
-- @return #nil The POSITIONABLE is not existing or alive.