Thread: bots stuck ?
View Single Post
Re: bots stuck ?
Old
  (#4)
botman
Super Moderator
 
Status: Offline
Posts: 280
Join Date: Jan 2004
Location: Plano, TX
Default Re: bots stuck ? - 01-04-2004

Yes, you would need to do some UTIL_TraceHull() calls in the direction that you plan to "unstuck" the bot in before moving it that way to make sure there is room to move the bot.

You should be able to determine which of the two bots has the most empty space around it (by tracing several hulls in different directions) and picking that bot as the one to put in "noclip" mode. Then move it away from the other one (moving it upwards slightly to keep it from intersecting the ground) and putting it back into normal "non-noclip" mode.

botman
  
Reply With Quote