Thread: Various
View Single Post
Re: Various - stuck bots issue
Old
  (#4)
SamPlay
Member
 
Status: Offline
Posts: 46
Join Date: Jan 2006
Default Re: Various - stuck bots issue - 09-09-2010

Quote:
Originally Posted by KWo View Post

I've spent a lot of hours to prevent them stuck, but it looks all code I've added it's still insufficent. It looks like I have to find a way to implement in the code the hook of entity_touch which would definitely say in the code if the bot is still stuck or not.
.
I think I have read somewhere that when 2 or ( a lot) more bots bump into each other like 2 crowds moving in opposite directions , one way out of the problem is to order each of the bot to move around the one(s) it bumps into ALL clockwise ( or ALL counter clock-wise obviously). This will probably will not look human-like all the time, but if it is true that it always works, it can be a useful back-up solution.
  
Reply With Quote