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."
|