Creating a own radar display additional targets effects

For topics related to the creation of simulation objects (SimObjects). This includes development of aircraft, ground, and maritime vehicles.
Post Reply
ManojaMohan
Posts: 13
Joined: Tue Jul 04, 2023 7:29 am

Creating a own radar display additional targets effects

Post by ManojaMohan »

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
User avatar
Beau Hollis
Lockheed Martin
Posts: 2452
Joined: Wed Oct 06, 2010 3:25 pm

Re: Creating a own radar display additional targets effects

Post by Beau Hollis »

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.
Beau Hollis
Prepar3D Software Architect
ManojaMohan
Posts: 13
Joined: Tue Jul 04, 2023 7:29 am

Re: Creating a own radar display additional targets effects

Post by ManojaMohan »

Thanks for your reply it was more use for me. Yes it works in that way 😀
Post Reply