I'm trying to find the point were two objects are overlapping. I'm trying to make a lazer go out from a gun in continuous fashion and need to return the X/Y over were it hits the first solid object. Is there a function that dose this?
Develop games in your browser. Powerful, performant & highly capable.
Not sure this exact "feature" is accessible, but if you check the How do I FAQ you can see an item named "Firing a laser" that can help you along.
Or at worst you can search for the keyword "laser" in the forums and see what you can come up with from the numerous topics on the subject.
There is also the system condition pick by overlapping point.
THANK YOU THANK YOU!!!! This was so helpful. I spent 8 or 9 hrs messing with best way to do this and this is perfect and so simple to. I kind of feel like an idiot now. You guys are always so helpful. Thanks again.