bot yaw?
by Ryan Ackley · in Torque Game Engine · 01/08/2002 (10:33 am) · 2 replies
How do you stop a bot from spinning when you use (assuming $botconn = aiconnection() as the bot)
$botconn.setmove("yaw", 0.5);
all he does is spin in place. i cant give him another command to move or anything. he just keeps spinning away. and setting a positive or negative value for the yaw also makes him spin the same way... boo. any ideas?
ryan
$botconn.setmove("yaw", 0.5);
all he does is spin in place. i cant give him another command to move or anything. he just keeps spinning away. and setting a positive or negative value for the yaw also makes him spin the same way... boo. any ideas?
ryan
About the author
#2
ryan
01/08/2002 (2:10 pm)
heh silly me, i had a comma after the yaw, but before the closing quote, so no script error was reported... he spins fine now :) now, if he could only do something else besides move along the x and y axis... :)ryan
Associate Tim Newell
Max Gaming Technologies
will make him stop.
The number tells the bot at what speed to move in the direction you set and will continue to move in that direction until you give it further instruction. A negative number would move in the negative direction at the speed of the number.
-Tim aka Spock