AI Wheeled Vehicle Avoid Object
by Chris Skinner · in Torque Game Engine · 04/16/2007 (8:20 am) · 2 replies
I have implemented the simple AI Wheeled Vehicle resource and it works fine. I am generating an AI vehicle and having it stop in a trigger. I then generate another one behind it and it crashes into the back of the first one. What I would like to do is have some kind of avoid or stop function that stops the second vehicle a certain distance behind the first one. Any help would be greatly appreciated.
About the author
Torque Owner Badguy
do a container search based on the radius of your vehicle.
now simply determine, using the contents of the container, how to park your vehicle there.