View Single Post
Re: Bot aiming bug - fixes
Old
  (#19)
mhanor
Member
 
Status: Offline
Posts: 16
Join Date: Jun 2011
Default Re: Bot aiming bug - fixes - 17-09-2011

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. This demo is quite eloquent: http://www.sendspace.com/file/6n3try

[POD]Make my Day (100) vecLookAt = path point.origin (1157.89 2853.93 176.03) c:\work\podbot_mm\bot.cpp 5704
  
Reply With Quote