[P3Dv5] Helicopter Spawning

Kaiii3
Posts: 64
Joined: Tue Feb 10, 2015 1:14 pm

[P3Dv5] Helicopter Spawning

Postby Kaiii3 » Sun May 03, 2020 1:23 pm

Hey,

first thanks for fixing the Registration Bug on the Helicopter Spawning. But that was sadly not the only bug...

When injecting an Helicopter using:

Code: Select all

Init.Altitude = plnfile.Altitide; Init.Latitude = startLocation.getLAT(); Init.Longitude = startLocation.getLON(); Init.Pitch = 0.0; Init.Bank = 0.0; Init.Heading = heading; Init.OnGround = 0; Init.Airspeed = 90; this.SimConnect.AICreateNonATCAircraft(aiaircraft.Registration.Variation.Title, aiaircraft.Registration.Registration, Init, RequestIdentifier.AddTraffic);
The engine is off and the helicopter is falling from down. Injecting Airplanes is working fine.

Injecting an "parked" helicopter with this code:

Code: Select all

Init.Altitude = freePad.Location.getELEV(); Init.Latitude = freePad.Location.getLAT(); Init.Longitude = freePad.Location.getLON(); Init.Pitch = 0.0; Init.Bank = 0.0; Init.Heading = freePad.Heading; Init.OnGround = 1; Init.Airspeed = 0; this.SimConnect.AICreateNonATCAircraft(aiaircraft.Registration.Variation.Title, aiaircraft.Registration.Registration, Init, RequestIdentifier.AddTraffic);
creats a parked helicopter with running engines.

Please fix this problem for spawning helicopters in the air :)
Image

Return to “SimConnect Interface Questions”

Who is online

Users browsing this forum: No registered users and 9 guests