- Home /
Shuriken OnParticledCollision
I'm trying to implement a currency drop system using shuriken particles. Apparently these particles can only collide with plane objects for now. Is there a way to be notified when the player has come in contact with a particle from the new particles system through scripting?
Answer by Essential · Jun 22, 2012 at 07:30 PM
The Shuriken particles only collide with flat surfaces (like floors) right now.
The way I'm trying to do it is by having a set of child GameObjects with their own trigger colliders, and getting each particle position and iterating through the child objects and setting their position to match the particle positions. When the player triggers the child gameobject, the related particle disappears as does the child gameobject.
Answer by Jesper Mortensen · May 21, 2013 at 03:26 PM
Unity 4 introduced general world collisions and Unity 4.2 will bring collision callbacks such that Shuriken also triggers the OnParticleCollision callback.
Your answer
Follow this Question
Related Questions
Problem with shuriken particle collision! 0 Answers
Shuriken Explosion Example - Collision 0 Answers
Shuriken Particles Max Numbers 1 Answer
Pong game collision problems 1 Answer