plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

Please take a moment to read the platform’s guidelines before you get started!

question

Kaiii3 avatar image
Kaiii3 asked FlyingRaccoon commented

Is there a specific boundary box used for SimConnect added SimObjects?

Hey,

while upgrading the Ground Traffic Manager for our AIG Traffic Tools I identified some strange behavior of the added ground vehicles (added via: AICreateSimulatedObject; Type: default ground vehicle)

They get their path via the default SimConnect Waypoints and in the DevMode view it is clearly visible that all waypoints are added to the simobject, but for some (to me yet fully unclear) reason they stop sometimes and do not continue, the default Airport Vehicles are driving through them at this time.

My guess is that the boundary box around the user Aircraft (in this case default Censa Caravan) is much bigger then needed, but would this not also prevent the default AI Ground Traffic to not enter the area?

I know from ESP based Simulators that the 3rd party added ground traffic is "boundary box"-aware and is not entering the critical area, but I have not seen this "big" distance so far between Traffic and User Airplane...

Enableing the Sphare View in DevMode is not helpin to identify the issue.

Anyone an Idea what might cause this?

simconnect
10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Paavo avatar image
Paavo answered

I have the same issue. A service road runs right next to parking stands and custom ground vehicles created with SimConnect get stuck there.

Please add a variable to turn anti-collision stopping on and off.


stuck.jpg



stuck.jpg (487.3 KiB)
10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

FlyingRaccoon avatar image
FlyingRaccoon answered FlyingRaccoon commented

Hello

There's a "YIELD_TO_USER" flag that is used by the game but not accessible through the SimConnect API yet.
I'll create a ticket so this is added and will make sure we're not missing other useful parameters.

Regards,
Sylvain

5 comments
10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

will this falg be setable for each waypoint? Cause in some situations it would be nice to have the "default" Collision-Awareness active. Because as long as the User Airplane is parked i would like to have AI ground traffic ignore it, but as soon as the user is active it would be good to have the AI awareness back up ^^
0 Likes 0 ·
Hello.

No, just like some other flags, it will only be considered on a given waypoint and will be valid for the whole path.
The feature you describe would require a more advanced mechanic as the flag I mentioned makes no distinction if the user is "active" or not.

Regards,
Sylvain

1 Like 1 ·
Kaiii3 avatar image Kaiii3 FlyingRaccoon ♦♦ ·
ok thanks, I will take care of the "user is active" inside our app then.
0 Likes 0 ·
Hey,

any chance to see this within the next SDK Update?

0 Likes 0 ·
Hello.

No, not for SU6. Can't give any ETA.
I'll update this question when we know more.
Regards,
Sylvain

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.