View Single Post
Re: how to determine look up or down on ladder
Old
  (#2)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: how to determine look up or down on ladder - 23-07-2004

how so ?
if the destination waypoint is higher than the source waypoint, make the bot look up, if the contrary make it look down...
But note that you must FACE the ladder to move up when pressing forward. If you have the back at it, you will move DOWN when pressing forward. So make (temporarily) the x and y origin of the destination waypoint in the center of the ladder so that you're certain that the bot will face the ladder.



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote