[Pogamut-list] DodgeLeft
Mogart
pogamut-forum at diana.ms.mff.cuni.cz
Tue Jan 22 02:27:54 CET 2013
DodgeLeft
Author: Mogart
Hi.
I wanted to create a good rocket dodger on UT2004.
But using move.dodgeLeft and move.dodgeRight, my bot was better to catch it than dodge it.
So I watched the code of these functions to be sure about "how it works" in AcvancedLocolotion.java
dodgeRight looks good but I saw something weird in "dodgeLeft" :
direction = new Location(-y, -x, 0);
Are you sure about it ? Isn't it better to write :
direction = new Location(-y, x, 0);
--
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=4&comments_parentId=1118#form>
More information about the Pogamut-list
mailing list