Detecting and getting the collision location of a shuriken particle

Hey ppl,

I’ve been trying to write script that detects if a shuriken particle has collided or not and I’m trying to get the location of that collision so I can spawn a prefab at that location.

Anyone have an idea how to approach this? I’ve searched for OnParticleCollision, but that only seems to work with legacy.

Anyone?

You can use particleSystem.GetParticles and iterate through their positions and do physics checks from each particle position, but this is kind of slow. My current method is to select 10% of each of the particles in a coroutine that goes off every 1/5th second. It’s kind of janky, but it works if you have a lot of particles.