I found Physics.IgnoreCollision to be pretty useful in my project (making the projectile ignore collision with the weapon it was fired from).
Now I’m adding flamethrower weapon with ParticleSystem as flame VFX. I’m using ParticleSystem collisions and IgnoreCollision() method would be great for same purpose, but Physics.IgnoreCollision is only working on colliders.
I found old thread from 2018 asking the same question, but the answer was “No but we will look into how we can improve things so that this is possible in the future”
The future is here, would be great to get the feature aswell
P.S. I also need this to ignore hitbox of current weapon user, but damage other players, so Layers approach will not work for me.