[Pogamut-list] Bug? going to one point
Daniel
pogamut-forum at artemis.ms.mff.cuni.cz
Thu Mar 12 01:22:06 CET 2009
Bug? going to one point
Author: Daniel
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