- Home /
Question by
neonflurogelb · Jul 27, 2016 at 04:53 PM ·
particlesparticle system
Detect Position of Particle that is hitting a Collider
Hello everybody:) I would like to simulate rain on water, for this i have a particlesystem that emits raindrops.When these raindrops hit the water(at the moment just a plane) i would like to instantiate at that point where the raindrop hits the plane a gameobject wich simulates a ripple.
My problem is now, i can detect with my script on the plane using "OnParticleCollision(GameObject other)" if the plane was hit by a particle, but i cant detect where, as " other.transform.position" only gives me the position of the particlesystem and not the position of the particle wich hit the plane. Any idea how to manage this? Thanks in advance, have all a nice day
Michi
Comment