Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Maze: Wall follower problem - Help needed

Christos Messing
Registered User
Join date: 16 Sep 2008
Posts: 1
01-25-2009 07:23
Hi I am trying to write a maze solver for Passive objects 1x1x1. The robot solver is decided to move only forward, rotating 90 degrees (or any other) to left or right to represent direction.
I have decided to do it using wall following but here's my problem. Since the only way I could figure out how to make my robot move along the wall was to use llMoveToTarget which only moves forward, I can't get it to sense either with collision functions either with sensing functions which way to turn to follow the wall accurately.

I am stuck and need desperate help. If anyone has any suggestions or need more information on anything please feel free anytime.

Thanks



The robot has been implemented using an API script to map the maze to grid. Thanks for any help
Lightwave Valkyrie
Registered User
Join date: 30 Jan 2004
Posts: 666
01-25-2009 12:28
the IBM sim had a robot script that did this ill see if i can find the LM
found it, IBM Labyrinth
_____________________
L$ is the root of all evil
videos work! thanks SL :)
Aztral Aeon
Registered User
Join date: 22 Dec 2007
Posts: 34
04-13-2009 09:24
To make your robot turn try llLookAt, llRotLookAt().