I want to be able to place AI in buildings and have them look out of the nearest window or door. I'm creating units within buildings but they all face north. I've made them face the position of the building which at least stops most of them staring at walls, although it only seems to work reliably with units on the ground floor. I fiddled with lineintersects and random directions to try to get the unit to look in a direction where his eyeline is least obstructed, ie, out of a window or door, but it was too cpu intensive. Does anyone have any thoughts?