- Home /
onParticleCollison not triggering
Hi I am currently trying to get the onParticleCollison method to trigger on a cube I have place on a terrain. The Cube has a box collider attached to it and also a script I made that contains onParticleCollison. I am using the newer particle system(Shuriken) and the particles are being emitted toward the box but no onParticleCollison message seems to be received.
To test if onParticleCollison is being triggered I added a Debug.Log inside onParticleCollison to see if its being triggered but I haven't seen any console.logs from it.
Anyone know why the particles might not be colliding with the box? I have "Send Collison Message Checked" on the particle system.
Thank you very much for any help!
Have you changed the collision type to world ins$$anonymous$$d of plane (it is at the top of the Collision category)? Also the event is named **OnParticleCollison** with an upper case O.
I have tried but ti did not work still. I can try again however I wanted to avoid world due to performance reasons.
Does your box with the collider have 'Is Trigger' checked? Particles will not collide with colliders used as triggers.