Loading...
 

PogamutUT2004


DodgeLeft

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);
Great! There are still people who read the source! **two thumbs up**

Of course, you're right :-)

Fixing, committing, should be in 3.4.1-SNAPSHOT after tomorrow morning build.

Thanks for reporting!
Jimmy
 

News

News RSS RSS feed for News link



Pogamut

Quarterly RSS RSS feed for quarterly reports

Acknowledgement

This work is supported by GA UK 1053/2007/A-INF/MFF (2007-8), GA UK 351/2006/A-INF/MFF (2006-8), the Ministry of Education of the Czech Republic (grant MSM0021620838) (2008-9), by the Program "Information Society" under project 1ET100300517 (2006-9), and the project Integration of IT Tools into Education of Humanities (2006-8) and by the project CZ.2.17/3.1.00/31162, which are financed by the European Social Fund, the state budget of the Czech Republic, and by the budget of Municipal House Prague.