Game Development Community

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...

About the author

Recent Threads


#1
02/22/2003 (1:19 pm)
take a look at the last post here and apply that to your player's onCollision.
#2
02/23/2003 (10:37 pm)
Thanks Kevin, it's what I needed!