Hi,
I’m still new to Unity and I’ve been experimenting with ray casting. I’d like to stop the ray when it hits a particle generated by a certain emitter but so far I’ve had no luck in doing this, does anyone know if this is indeed possible?
Thanks,
Jack
Particles don’t have colliders so it’s not going to work “out of the box”. You could instantiate a sphere collider for each particle though and move them with the particles using Particle.position.
http://unity3d.com/support/documentation/ScriptReference/Particle-position.html