Version: 1.4.12.0
Frequency: Consistently
Severity: High
Marketplace package name: /
Context: Default Content
Similar MSFS 2020 issue: /
Bug description:
AI Helicopter injected via SimConnect do not move when sending waypoints.
Repro steps:
- Inject helicopter
simconnect.AICreateNonATCAircraft_EX1("Asobo PassiveAircraft B429 WLG", "BELL_429WLG_0", "D-TEST", Init, DATA_REQUESTS.REQUEST_SIMOBJECT_SPAWN);
- Send waypoints
SIMCONNECT_DATA_WAYPOINT[] waypointList = new SIMCONNECT_DATA_WAYPOINT[2];
waypointList[0].Flags = (uint)(SIMCONNECT_WAYPOINT_FLAGS.SPEED_REQUESTED);
waypointList[0].Altitude = 100;
waypointList[0].Latitude = 38.78032171466568;
waypointList[0].Longitude = -9.135683433531407;
waypointList[0].ktsSpeed = 20;
waypointList[1].Flags = (uint)(SIMCONNECT_WAYPOINT_FLAGS.SPEED_REQUESTED);
waypointList[1].Altitude = 100;
waypointList[1].Latitude = 38.7811010811845;
waypointList[1].Longitude = -9.134426137019052;
waypointList[1].ktsSpeed = 20;
Object[] objv1 = new Object[waypointList.Length];
waypointList.CopyTo(objv1, 0);
simconnect.SetDataOnSimObject(DEFINITIONS.SET_WAYPOINTS, helicopter, 0, objv1);
SimObject ingame changes state, but does not move.
Attachments:
Private attachments: Send a PM to @PrivateContent with the link to this topic and the link to download your content