AIWheeledVehicle don't follow the path...
by Corin · in Torque Game Engine · 02/11/2005 (6:32 am) · 14 replies
About the author
#2
Run your test then look at the console and look for a line that say s"onreachdestination".
If it exists, then that code is not telling the car to go to the next node for whatever reason. The other possibilty is that the path is not set up right?
If it is not getting called, it's probably the moveTolerance problem or something else.
Thanks,
Brian
02/11/2005 (8:16 am)
If it is stopping at first marker, that means the onReachDestination code is not working. That code is located in the bot.cs file. Slap an echo("onReachDestination"); in there and see if it ever gets called. Run your test then look at the console and look for a line that say s"onreachdestination".
If it exists, then that code is not telling the car to go to the next node for whatever reason. The other possibilty is that the path is not set up right?
If it is not getting called, it's probably the moveTolerance problem or something else.
Thanks,
Brian
#3
02/12/2005 (6:17 am)
Don't use the setMoveTolerance. Hard code it in C++. I usually multiply the vehicle tolerance by 7.
#4
02/14/2005 (6:46 am)
Does your MasterBlaster vehicle has an eye node ? Also, do your vehicle has a getEyeTransform method ?
#5
What do you mean by can't create a path ?
02/15/2005 (12:48 pm)
Yes, I'm still here ( even though this week and the next will be very hard ).What do you mean by can't create a path ?
#6
Maybe you should try This Resource instead of the AIVehicle. This will allow a bot to drive ( or fly ) if mounted but the vehicle will not be changed.
I'm Brazillian, so if you prefer, you may post in spanish cause I understand some "Portunhol".
02/16/2005 (1:02 pm)
That's because you are controlling the object when you are mounting on it. The AIvehicle will only run thru the paths if you are NOT in it.Maybe you should try This Resource instead of the AIVehicle. This will allow a bot to drive ( or fly ) if mounted but the vehicle will not be changed.
I'm Brazillian, so if you prefer, you may post in spanish cause I understand some "Portunhol".
#8
02/18/2005 (11:08 am)
Para cotrolar a velocidade ser
#9
02/23/2005 (12:31 pm)
D
#10
02/23/2005 (12:36 pm)
Wouldn't it be great to know if any of this could help out our english speaking folk?
#11
02/24/2005 (4:34 am)
Stop moaning, Gonzo, there is enough room for everybody.
#12
Ok, now that I've acknowledged your unsolicited snide remark I still think it would be nice for the rest of us to know of what value this convo was and what great data and/or lessons were learned from it. But don't sweat it, I've already figured out that it's just wishful thinking.
02/24/2005 (5:46 am)
Well GOLLY GEE you are right!!!Ok, now that I've acknowledged your unsolicited snide remark I still think it would be nice for the rest of us to know of what value this convo was and what great data and/or lessons were learned from it. But don't sweat it, I've already figured out that it's just wishful thinking.
Torque Owner Bruno Grieco