look into chicken32's discussion. i'm currently trying to make a better engine that almost detects walls.