View Single Post
Having a bot face one way, while moving another
Old
  (#1)
Maleficus
Member
 
Maleficus's Avatar
 
Status: Offline
Posts: 1,054
Join Date: May 2004
Location: Planet Earth
Default Having a bot face one way, while moving another - 20-05-2004

Hellos!

I'd like to know what you guys think would be the best (cheapest, fastest) way to have a bot move in one direction, while looking in another.

Please understand that my question is for a Quake 3 engine based game (so any examples will have to be in C ).

ATM, I basically just set the bots ucmd.angles to point to where ever its current goal is (waypoint, enemy, friend), and then set its ucmd.forwardmove to max (i.e. it turns to its goal, then runs forward).


Dum Spiro Spero


  
Reply With Quote