Just saw your code Bot Builder (ironic name) - nice, but I think that would involve a fair bit of nasty maths. For simplicity, I suggest a 360 degree scan of a fixed length is always made, and the nearest object in range (if any) gets scanned. What do others think?
Ryan
Ryan