- Home /
OnParticleCollison not being triggered
I am trying to get Particles from a particle system in my project to collide with a regular cube in the world and trigger the OnParticleCollison method. I created a particle system and had it emit particles at the cube however it is not triggering the onParticleCollison method(I placed a Debug.Log inside the method to detect if it is triggered and it does not output to the console)
The Cube has a box collider attached to it and also a script which contains onParticleCollison.
The docs say
This message is sent to scripts attached to particle systems and to the Collider that was hit.
Do I have to attach the script to the BoxCollider or to the Cube? I added it to the Cube and was expecting the method to be triggered.
Thanks for any help and I can give more info if needed
Your answer
Follow this Question
Related Questions
How to use individual Particles as objects 1 Answer
How to make Particle System spiral/vortex 1 Answer
Particles that only show in light 2 Answers
Change Size over Lifetime for Particle System? 1 Answer
Particle System Emission Rate Scriptt 0 Answers