User talk:Zyx/Radar Widest Area Angle

From Robowiki
< User talk:Zyx
Revision as of 07:08, 17 October 2009 by Zyx (talk | contribs) (I think you are right)
Jump to navigation Jump to 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)

You cannot post new threads to this discussion page because it has been protected from new threads, or you do not currently have permission to edit.

There are no threads on this page yet.