mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
commit
e7cee4d97b
@ -388,7 +388,7 @@ function DYNAMICCARGO:_HeloHovering(Unit,ropelength)
|
|||||||
if DCSUnit then
|
if DCSUnit then
|
||||||
local UnitInAir = DCSUnit:inAir()
|
local UnitInAir = DCSUnit:inAir()
|
||||||
local UnitCategory = DCSUnit:getDesc().category
|
local UnitCategory = DCSUnit:getDesc().category
|
||||||
if UnitInAir == true and UnitCategory == Unit.Category.HELICOPTER then
|
if UnitInAir == true and UnitCategory == 1 then
|
||||||
local VelocityVec3 = DCSUnit:getVelocity()
|
local VelocityVec3 = DCSUnit:getVelocity()
|
||||||
local Velocity = UTILS.VecNorm(VelocityVec3)
|
local Velocity = UTILS.VecNorm(VelocityVec3)
|
||||||
local Coordinate = DCSUnit:getPoint()
|
local Coordinate = DCSUnit:getPoint()
|
||||||
|
|||||||
@ -169,10 +169,6 @@ Defines an extensive API to manage 3D points in the DCS World 3D simulation spac
|
|||||||
**Features:**
|
**Features:**
|
||||||
|
|
||||||
* Provides a COORDINATE class, which allows to manage points in 3D space and perform various operations on it.
|
* Provides a COORDINATE class, which allows to manage points in 3D space and perform various operations on it.
|
||||||
* Provides a COORDINATE class, which is derived from COORDINATE, and allows to manage points in 3D space, but from a
|
|
||||||
Lat/Lon and Altitude perspective.
|
|
||||||
* Provides a POINT_VEC3 class, which is derived from COORDINATE, and allows to manage points in 3D space, but from a
|
|
||||||
X, Z and Y vector perspective.
|
|
||||||
|
|
||||||
**The coordinate system classes are essential to understand. Learn this!**
|
**The coordinate system classes are essential to understand. Learn this!**
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user