Darwinbots Forum
Code center => Bugs and fixes => Bug reports => Topic started by: Trafalgar on July 10, 2007, 11:26:06 AM
-
In short, things with DNA execution disabled have 0,0 for xpos,ypos, which results in refxpos, refypos being 0,0 when looking at them. Bots using "*.refxpos *.refypos angle .setaim store" for aiming go wonky* when they see a bot/veggie with disabled DNA execution.
(My workaround are to only do setaim aiming if both refxpos and refypos are >0)
* = Specifically, they turn to face 0,0.