Jump to content

ATME 1.47+ : segment


CougarFFW04

Recommended Posts

Hello ATME Gurrus,

 

Une petite idée de d'ajout pour ATME:

 

Ce serait cool d'avoir une petite fonction dans la classe ATME.C_LINE2D (ou CLASSE ATME.C_VECTOR3D)

qui pourrait créer un segment

- de longueur L paramétrable

- centré sur un point C paramétrable

- orienté selon un azimuth Az paramétrable.

 

Ca pourrait etre sympa pour mettre en place facilement des patrol en récupérant les point A et B via les fonctions "get" existantes.

 

Il ne me semble pas que ca existe pas tel (même s'il est bien sur possible de le construire avec les fonctions ATME existantes).

 

Au cas ou.. :thumbup:

Link to comment
Share on other sites

local point1 = ATME.coordLocalToDCS({x=(213);y=0;z=0},origin_point,correct360(heading-9))

local point2 = ATME.coordLocalToDCS({x=(213);y=0;z=18.25},origin_point,correct360(heading-9))

thisModule:createNamedMultiSegment2D("waveoff",{point1,point2})

 

 

z longueur l parametrable

c point parametrable = origin_point

azimuth AZ parametrable voir la function ci dessu ATME.coordLocalToDCS et le dernier parametre heading.

 

 i7-10700KF CPU  3.80GHz - 32 GO Ram - - nVidia RTX 2070 -  SSD Samsung EVO with LG  TV screen 40"  in 3840x2150 -  cockpit scale 1:1

- MS FFB2 Joystick  - COUGAR F16 throttle  - Saitek Pro Flight Rudder Pedals

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...