View Single Post
Re: Bot aiming bug - fixes
Old
  (#20)
KWo
Developer of PODBot mm
 
KWo's Avatar
 
Status: Offline
Posts: 3,425
Join Date: Apr 2004
Default Re: Bot aiming bug - fixes - 18-09-2011

Quote:
Originally Posted by mhanor View Post
That line of code is the last that sets vecLookAt (I'm logging it). Looking at the bot at that moment, its sight is directed at a waypoint very near it. I'm not sure if it's limited only to that, but it seems that every time it approaches a camping waypoint, before settling into position, its aiming points toward the previous waypoint.
That was exactly expected by the line of code above (bot.cpp 5704) - when the bot is approaching a waypoint near the wall (or some corner - like camping waypint usually is placed), he should look backward - instead looking at the wall in front of his path.

Quote:
Originally Posted by mhanor View Post
This demo is quite eloquent: http://www.sendspace.com/file/6n3try
Quote:
Originally Posted by download loaction

demo.zip


File Size: 154.50KB
The file is not currently available. Our support staff have been notified and we hope to resolve the problem shortly. Please try again later.
  
Reply With Quote