How to send a new WayPoint to a ground vehicle

Discuss on the SimConnect SDK can be used by programmers to write add-on components for Prepar3D
Post Reply
iocpserver
Posts: 12
Joined: Mon Mar 17, 2014 2:32 pm

How to send a new WayPoint to a ground vehicle

Post by iocpserver »

Hi,
I'm using SimConnect_AICreateSimulatedObject to create a ground vehicle in a specific location, and it works...
A few seconds after that i send a Waypoint, using SimConnect_SetDataOnSimObject with a data definition (type "AI Waypoint List"), and it works too... the vehicle goes where i want. OK good...

But if try to send a new WayPoint a few seconds after that, using again SimConnect_SetDataOnSimObject, the vehicle does not move, any more ;-(

What i'm doing wrong? i forget any step?

Any one can help me?
Thanks!
Post Reply