Introduction to Maya - Modeling Fundamentals Vol 2
This course will look in the fundamentals of modeling in Maya with an emphasis on creating good topology. It's aimed at people that have some modeling experience in Maya but are having trouble with complex objects.
# 1 16-03-2008 , 02:17 AM
Registered User
Join Date: Nov 2007
Posts: 27

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

# 2 16-03-2008 , 02:30 AM
NeoStrider's Avatar
Registered User
Join Date: Jun 2004
Location: Cleveland, Ohio (USA)
Posts: 1,541
why not create a sphere or other collision object that entirely blocks the shark's mouth, but then hide the object or make it non-renderable?


Accept no substitutions.
# 3 16-03-2008 , 02:39 AM
Registered User
Join Date: Nov 2007
Posts: 27
Simple solutions

That will work I suppose

I just wanted to know if there was way of killing particles on contact of an object ?

thanks

Andy Gee

# 4 16-03-2008 , 02:47 AM
NeoStrider's Avatar
Registered User
Join Date: Jun 2004
Location: Cleveland, Ohio (USA)
Posts: 1,541
there's gotta be, but i'm gonna assume that some coding might be involved... i haven't tinkered with particles since my particle animation class... that was about 7 or 8 years ago =P


Accept no substitutions.
# 5 16-03-2008 , 02:56 AM
ragecgi's Avatar
Registered User
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Check the help under Particle Collision Events to be sure, but I believe that if you create a particle collision event you can just leave the three checkboxes for "Emit" "Split" and "Random # Particles" off.

Then just set the "Num Particles" slider to 0.

Try that, and let us know if it helped at alluser added image


Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
# 6 16-03-2008 , 02:56 AM
Registered User
Join Date: Nov 2007
Posts: 27
Hey Neo Strider

will try your method out

Thanks

Andy Gee

# 7 16-03-2008 , 03:02 AM
Registered User
Join Date: Nov 2007
Posts: 27
Hey ragecgi

Will try that out, Just looking at the particle collision event thing.

but not sure how to use it.

Just wanted to ask is there a way to have 2 emitters have 2

particle collision geo connectors for 1 object ??

I know that you can have multiple geo collisons for different

objects in your scene, was wondering if you can do it the other

way, multiple emitters with different collsion states for a single

object ?

thanks

Andy Gee

# 8 16-03-2008 , 05:28 AM
ragecgi's Avatar
Registered User
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709

Originally posted by Andy Gee
Just looking at the particle collision event thing.....but not sure how to use it.

No probuser added image
Find out more about how to use the Particle Collision Event Editor in the help by hitting F1 while in Maya and browsing to:

Using Maya
>Dynamics and Effects
>Particles
-Particle Collisions

There are at least 4 tutorials in there along with the standard help text to help you get what you wantuser added image

....multiple emitters with different collision states for a single object ?

Yepuser added image
Automatically when you click "Create New Event" an incremental number value is assigned to the new event, and added to the events list on the right, per particleShape.

You can even assign global procedures/expressions to the events as well, all within the editor.

Good luck, and remember to read all the help regarding the Particle Collision Event Editor, as it helped me to double check my answers hereuser added image

Good luck!


Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads