Hitting bots
by Roman Lichszteld · in Torque Game Engine · 02/22/2003 (12:59 pm) · 2 replies
I'm not very experienced with Torque engine, so maybe my next question seems "newbie-like" but I have following problem:
I'm currently playing with AI stuff and want to make my AI bots to be thrown back on collision with player (which in this case is a car...).
In bot's onCollision handler I get player's move vector and speed but I don't know how to force my bot to move a bit backwards while playing animation other than 'move'...
%bot.SetMoveDestination() doesn't help too much :-(
Did anyone face such an issue?
Thanks in advance for any help...
I'm currently playing with AI stuff and want to make my AI bots to be thrown back on collision with player (which in this case is a car...).
In bot's onCollision handler I get player's move vector and speed but I don't know how to force my bot to move a bit backwards while playing animation other than 'move'...
%bot.SetMoveDestination() doesn't help too much :-(
Did anyone face such an issue?
Thanks in advance for any help...
Torque Owner Kevin Ostrowski