Detect if an object is within a light?

Jul 20, 2012 at 8:05 PM

Hey everyone, I was wondering what the best way to check if an object is within a light would be.

My current method works poorly, and is accomplished by drawing a rectangle the rough size of the light and then checking it.


Is there a better way?