[Pogamut-list] Turning back to old location/rotation.

Piotr.Murach pogamut-forum at diana.ms.mff.cuni.cz
Wed Aug 11 14:34:24 CEST 2010


Re: Turning back to old location/rotation.

Author: Piotr.Murach

Hi Jakub!

Yes, it's me again and my problems :) Well, the command is along the lines of 
oldRotation = bot.getRotation
act(new TurnTo(null, oldRotation, null) 
at it's simplest. The bot after running straight for some time and then shooting makes a turn by 90 degrees after calling turnto command. Is there a way to send rotation or even only yaw directly to gamebots as a string?

Thanks,

P.

-- 
Reply Link: <http://diana.ms.mff.cuni.cz/main/tiki-view_forum_thread.php?forumId=4&comments_reply_threadId=4&comments_parentId=341&post_reply=1#form>





More information about the Pogamut-list mailing list