- Home /
Trying to get a gameObject to collide with particles in a particle system.
Does anyone have a C# example of how to get a gameObject to collide with individual particles in a particle system? Everything i've found or read on collision detection is an example of particles colliding into game objects.
Answer by allenallenallen · Aug 10, 2015 at 03:59 AM
OnParticleCollision. And game objects colliding into particles is essentially the same as particles colliding into game objects.
http://docs.unity3d.com/ScriptReference/MonoBehaviour.OnParticleCollision.html
Your answer
Follow this Question
Related Questions
Destroy individual particle when touched 0 Answers
Unity 2D Particle System's collider doesn't trigger other colliders for scripts. 0 Answers
A tricky problem with Particle Collisions 0 Answers
OnCollisionExit for Particles 0 Answers
OnParticleCollision Question (Image included) Particle Decal Hanging off Edge 1 Answer