setMoveDestination()
by Gennady · in Torque 3D Beginner · 08/08/2011 (4:39 pm) · 4 replies
Hello!
Clear the point, please: is it possible to make this method work with class WheeledVehicle?
So, the aim is to control the WheeledVehicle by script. Is there any kind of AIVehicle (a reference to AIPlayer)?
Thanks!
Clear the point, please: is it possible to make this method work with class WheeledVehicle?
So, the aim is to control the WheeledVehicle by script. Is there any kind of AIVehicle (a reference to AIPlayer)?
Thanks!
About the author
Specialist of International center for professional training in Rosatom Technical Academy
#2
What you mean "re-implement"? Is this an individual class out of engine?
And what I need to do if perhaps I can access the source?
09/20/2011 (2:08 am)
Thanks for reply.What you mean "re-implement"? Is this an individual class out of engine?
And what I need to do if perhaps I can access the source?
#3
Are suggesting that you have access to the source currently?
09/20/2011 (9:17 am)
By re-implement he meant adding the code from the resource to the engine so that the class is available to use in your game.Quote:
And what I need to do if perhaps I can access the source?
Are suggesting that you have access to the source currently?
#4
In script you could try faking things by mounting an AI player to a vehicle. Then issue your move destination to the driver instead of the vehicle.
09/20/2011 (10:52 am)
The reason that I used the word re-implement is because an older version of Torque (TGE) included an AIWheeledVehicle class. It never made the transition to TGEa or Torque 3D, however there are various Resources that show how to add it back, as well as Resources that do similar for flying vehicles... but again comes the question of source access.In script you could try faking things by mounting an AI player to a vehicle. Then issue your move destination to the driver instead of the vehicle.
Associate Michael Hall
Distracted...