In my Godot 4 project I have bullets generated with a GPUParticles2D node. These bullets successfully collide with LightOccluder2D nodes. My question is, is there a way to detect in code when a particle collides with a lightoccluder?
I'd like to make enemies take damage when they are hit with a bullet particle.
If this is not possible with a GPUParticles2D, is it with a CPUParticles2D?
(I do understand that I could shoot rigidbodies instead of using a particle node, however the logic of the particle system fits very well with what I was doing in my game and it has great performance. I like the idea of being able to have tens of thousands of bullets if I want)