I'd like to make an asteroids clone where the ship has a laser instead of firing projectiles. By laser, I mean when the mouse button is down, a ray is spawned and the nearest asteroid that the laser intersects with begins taking damage. I've got the above part down with a combination of "Is Overlapping" and "Pick Nearest". Now I was wondering if it was possible for me to grab the intersection point between the laser and the asteroid somehow so I can spawn some particle effects at that locations. The asteroid has a polygon bounding box and the laser is simply a long narrow rectangle sprite with its width set so that it extends from the ship to the asteroid.
I've hacked together something that's kind of crazy, but would like to know if there's a better solution. Currently I'm sending a stream of invisible bullets out of the ship and when there is a collision with an asteroid and a bullet I move the position of the particles to that collision point. BUT I'd rather not have to send out a steady steam of bullets to get this done.