[Pogamut-list] Can't go backwards?
rudolf.kadlec
pogamut-forum at artemis.ms.mff.cuni.cz
Wed Oct 8 19:50:29 CEST 2008
Re: Re: Can't go backwards?
You will have to compute these two points by hand provided you know agent's location (memory.getAgentLocation()) and rotation (memory.getAgentRotation()). Be aware that rotation is in range (0, 65536). I hope this will help.
R
> For that to work, I need the coordinates of some point directly behind the bot (to move to) and the coordinates of some point directly in front of the bot (to look to). How do I get these points?
----
Reply Link: <https://artemis.ms.mff.cuni.cz/pogamut/tiki-view_forum_thread.php?forumId=5&comments_reply_threadId=265&comments_parentId=253&post_reply=1#form>
More information about the Pogamut-list
mailing list