View Single Post
Re: Does the button code really work? Or am I just too stupid?
Old
  (#5)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: Does the button code really work? Or am I just too stupid? - 01-05-2004

No, CF was wrong. That radius is 50 units. Which makes a bot bumping into a door where the other side's waypoint through the door is less than 50 units far from the bot, falsly believe that it reached the other side successfully (and thus don't realize it has to push a button).

The navigation code behaves differently given the nature of the waypoint. Not all waypoints benefit from this radius. This hardcoded radius only applies to "normal" waypoints (standing, green).

When I was saying 10 meters... I was exxagerating a lot, dudes Sorry for not having made myself clear



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."

Last edited by Pierre-Marie Baty; 01-05-2004 at 17:41..
  
Reply With Quote