How does view() determine if an object is visible to the center object or not?
I tried to make my own View() proc, and how it determines if the objects are visible is to draw a line of turfs from the center object to the target object, and if any of those turfs are opaque then it will not add the target object to the final list that View() returns.
But it was so incredibly laggy it was ridiculous. How does view() do it?
If I already have a reference to an object and I want to check if it is "viewable" how would I without doing if(object in view())?
Mar 1 2014, 12:10 pm (Edited on Mar 3 2014, 10:30 am)