Particles that die on contact with a surface ?
Hi everybody
I have a question regarding maya particles.
Ok I have a scene with a swimming fish (my great white shark)
I have created a particle emitter which uses instances of a soft body nurbs sphere to simulate bubbles.
I have placed this just below the camera and parented it to the camera so it will move where the camera moves.
Its to give the impression of somebody breathing underwater.
Ok I have created an expression that will kill any particles that rise above the water line so that maya doesn't get bogged down with tones of geomtry.
Ok the problem is... My camera moves quickly when the shark attacks (camera moves backwards very quickly) and in turn the bubbles get sucked into his mouth. Now I have added the shark geometry to collide with the bubble particles so the bubbles gather inside his mouth as he swims.
Now is there a way or expression I could write that will say to the particles. You must die when you touch this surface ??
I have tried the following to sort this problem out, I have increased the speed of the particles towards the end of the animation so that the particles move up over the snout instead of in his mouth.
Also I have tried adding an air field inside the sharks mouth so that it will blow out the bubbles so they dont get too many.
But is there a way to have the exra particles die on contact with the surface ??
if anybody can help that would be great.
thanks
Andy Gee