[Pogamut-list] Bug? going to one point
michal.bida
pogamut-forum at artemis.ms.mff.cuni.cz
Thu Mar 12 12:49:55 CET 2009
Re: Bug? going to one point
Author: michal.bida
Hi!
The chances are that 99% it is not your fault. :-) It's just a feature of Unreal Tournament. The move command is just not 100% precise. The differences you have are absolutely in tolerance. 5 UT units is like nothing in the game. You wouldn't be able to notice this in the game.
If you need to be 100% accurate, you just have to implement some tolerance, cause normally this is not possible due to this feature of UT.
Best,
Michal
> Hi!
>
> I found this...and I really hope is my fault :)
> (I took a few screenshots, but I don´t know how to upload them here)
>
> Problem: the bot doesn´t go to the location you specify (:sad:) (either with runToLocation nor strafe command), and there is a big diference between the two positions, the one given and the finally reached.
>
> So, if in the doLogic function u write:
> Triple loc = new Triple(-120,-20,42);
> this.body.runToLocation(loc);
>
> ¿where is it going when spawned? well, probably depend on the map, maybe in that position there is lava or whatever. I have a empty map for test, just a cube, and my bot goes to (-115,-17,42) (:eek:)
>
> If you give another poistion:
> Triple loc = new Triple(-100,-60,42);
> this.body.runToLocation(loc);
>
> the bot goes to (-108,-53,42) (:cry:)
>
> And that´s not because there is something in the middle, the map is a big plain area.
>
> what do you think? any idea? :)
>
> Cheers!
>
>
> Dani.
More information about the Pogamut-list
mailing list