Hello sir/madam
My name is Manoj i was trying to create my own radar display using c++with the help of weapon guage I am getting Single Target or a selected Target coordinates or data but i need all 25 targets data in every 10sec how should I get those data respectively so that I can display all the target in my display
Creating a own radar display additional targets effects
-
- Posts: 13
- Joined: Tue Jul 04, 2023 7:29 am
- Beau Hollis
- Lockheed Martin
- Posts: 2452
- Joined: Wed Oct 06, 2010 3:25 pm
Re: Creating a own radar display additional targets effects
Take a look at the ISimObject section of the SDK. The sim object manager has a function to query for all entities within a specified radius. That would be a good starting point for building out a list of potential targets.
https://www.prepar3d.com/SDKv5/sdk/pdk_ ... 76fd9e4a9b
EDIT: If you open up the SDK samples solution and serach for GetObjectsInRadius, you'll find several examples of it's use including one in the targeting pod sample.
https://www.prepar3d.com/SDKv5/sdk/pdk_ ... 76fd9e4a9b
EDIT: If you open up the SDK samples solution and serach for GetObjectsInRadius, you'll find several examples of it's use including one in the targeting pod sample.
Beau Hollis
Prepar3D Software Architect
Prepar3D Software Architect
-
- Posts: 13
- Joined: Tue Jul 04, 2023 7:29 am
Re: Creating a own radar display additional targets effects
Thanks for your reply it was more use for me. Yes it works in that way 😀