- Messages
- 1
- Country
Hi,
I am new to the simconnect world - I am trying to write a small application that will :
1. detect touchdown
2. detect which airport - if any - the plane has landed in.
Part 1. is fairly easy, but part 2. is a bit more tricky. As I did not find an API way of getting the airport info, I thought of comparing the plane position with all possible airport locations. This would get me the nearest airport, but no indication of wether a nearby field was used instead ! - is there somewhere in the API to query the surface type of what the wheels are touching ?
thanks,
Peter
I am new to the simconnect world - I am trying to write a small application that will :
1. detect touchdown
2. detect which airport - if any - the plane has landed in.
Part 1. is fairly easy, but part 2. is a bit more tricky. As I did not find an API way of getting the airport info, I thought of comparing the plane position with all possible airport locations. This would get me the nearest airport, but no indication of wether a nearby field was used instead ! - is there somewhere in the API to query the surface type of what the wheels are touching ?
thanks,
Peter