Forum: 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