Hi again Rex! I have another question about this plugin. I need to destroy an object that has the Light behavior if the object doesn't hit any obstacle. Whats strange is that destroying the object when the object.width=light.maxWidth actually returns max width when there is an object it should hit. I've put together a capx to show what I mean. In the capx, if you shoot (click the mouse) when youre just to the right of the thin line, the max width is around 287. However if you shoot a little to the left of the line, max width jumps to 500. 290-499 are never returned. Is this a bug or am I going about this the wrong way?
Example: http://www.louisferina.com/games/Light.capx
Thanks!