Weapon information with Simconnect

haroldFDavidson
Posts: 9
Joined: Thu Jun 01, 2017 12:24 am

Weapon information with Simconnect

Postby haroldFDavidson » Fri Jul 27, 2018 2:29 am

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: 1760
Joined: Wed Aug 24, 2011 1:37 pm

Re: Weapon information with Simconnect

Postby Rob McCarthy » Tue Jul 31, 2018 1:56 pm

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


Return to “SimConnect Interface Questions”

Who is online

Users browsing this forum: No registered users and 10 guests