How to send a new WayPoint to a ground vehicle
Posted: Thu May 09, 2019 10:36 pm
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!
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!