I know that I can use X-ray until I find an object of a particular property, but:
I don’t want every single wall to have to have a property telling it that it’s a wall.
Likewise, giving the X-ray the property of the target will mean it ignores walls.
Also, the ray will never hit the target, because the turret aims ahead.
It sounds like you guys know a way to do the opposite of an X-ray, to cast a ray that looks for anything that isn’t a certain property. I can’t find out how to do that.
It sounds like solar-lunes suggestion is the only one that will work, but I can’t help feeling there must be a better way.
Here’s a diagram, in case it helps:
There used to be a check-box in 2.49 that toggled whether a face used collision or not. Is there the same in 2.6 somewhere?