User talk:Zyx/Radar Widest Area Angle

From RoboWiki
< User talk:Zyx
Revision as of 05:08, 17 October 2009 by Zyx (Talk | contribs)

Jump to: navigation, search

In one of my melee bots (now retired), I set the radar, gun, and robot to turn towards the center, and not to adjust gun and radar for robot turn until after 3 ticks. Not sure if this would have a similar effect --Starrynte 01:10, 17 October 2009 (UTC)

Is disabling 'adjust xxx for yyy turn' really needed? I wouldn't expect it to be needed... hmm --Rednaxela 02:43, 17 October 2009 (UTC)

Hmm... well, I may be mistaken... but thinking this over, I'm pretty sure turning the radar towards the center will always do the same as this 'widest area angle' indeed... --Rednaxela 01:53, 17 October 2009 (UTC)

I will add small check to see if turning to the center gives the same result as this code, but I think you are both right, intuitively it seems to have the same output and code is so much simpler :-/. About not adjusting, I call the adjust method in the onScannedRobot event and at the beginning I set to turn radar, gun and bot. But that is for 1v1 and not melee. --zyx 05:08, 17 October 2009 (UTC)
There are no threads on this page yet.
Personal tools