Weapon information with Simconnect

Discuss on the SimConnect SDK can be used by programmers to write add-on components for Prepar3D
Locked
haroldFDavidson
Posts: 9
Joined: Thu Jun 01, 2017 12:24 am

Weapon information with Simconnect

Post by haroldFDavidson »

Hi all,
I'm looking for a way to get bullets from sim connect, and get some information about them to store for later.

Currently what i need is the Position/Angle when they are created, as well as the point that they collide with the ground/other objects.

Thanks in advance
User avatar
Rob McCarthy
Lockheed Martin
Posts: 3703
Joined: Wed Aug 24, 2011 1:37 pm

Re: Weapon information with Simconnect

Post by Rob McCarthy »

Hello,

We don’t provide individual round information through SimConnect or the PDK. One potential option would be to monitor the gun system trigger state on every object to determine when it is fired. You ca then possibly determine a position/orientation of the round based on the entity’s position/orientation. This would not provide any collision information however.

Regards,
Rob McCarthy
Rob McCarthy
Prepar3D® Core Lead
Locked