Hello.
I have recently started learning about Prepar3D.
I have a question because I have encountered a problem in an implementation I am currently working on.
I would like to use the SimConnectAPI to set the coordinates of the AI aircraft for each frame and fly an arbitrary route.
However, I am getting exceptions in the request and configuration processes that I am calling at the same time.
(1 frame = 60FPS = 1000/60 ≈ 16.666... ms)
The following is an example of an exception that occurs.
------------------------
System.Runtime.InteropServices.COMException: '0xC00000B0'
------------------------
I have tried creating multiple SimConnect connections, separating them by request and configuration, etc., but it did not work.
I hope you can help me solve this problem.
Thank you.
Set the data for every frame using SimConnectAPI.
-
- Posts: 55
- Joined: Thu Mar 24, 2011 1:18 pm
Re: Set the data for every frame using SimConnectAPI.
Which SimConnect API are you using to set the coordinates for the AI aircraft?