Digital humans the art of the digital double
Ever wanted to know how digital doubles are created in the movie industry? This course will give you an insight into how it's done.
# 1 21-10-2013 , 04:41 AM
Subscriber
Join Date: Dec 2012
Posts: 12

Help with particle explosion: Geo keeps rotating after colliding with ground

I am very new to scripting and would really appreciate some help.
I have been following some tutorials online and I have been able to create a particle instance explosion, but I have not been able to stop the particles from rotating once they hit the ground. Could someone please help me with this.

Here is the maya file, it's only 400k
https://www.dropbox.com/s/911gg69g0...cleExplosion.ma
Here is a playblast
https://youtu.be/1he_cFjMYiI

Creation Expression
float $scaleNum = rand (.2,1); particleShape1.customOrient =<<rand(360),rand(360),rand(360)>>;
particleShape1.customSpeed = rand(30,-30);
particleShape1.CustomIndex = rand(0,5);
particleShape1.customScale = <<$scaleNum,$scaleNum,$scaleNum>>;

RuntimeExpression
particleShape1.customOrient += particleShape1.customSpeed;

# 2 05-11-2013 , 02:27 PM
LauriePriest's Avatar
Moderator
Join Date: May 2003
Location: London
Posts: 1,001
Hello,
Particles are extremely basic representations for something like this.
My advice would be to just use rigid bodies for this kind of thing.
The reactions will always be completely un-physical with this kind of thing, the most you can do is to use the particle collision event editor to call a procedure to set your custom speed to 0 which will stop the orientation change in your particles.

https://intranet/apps/Linux64/aw/maya...ber=d28e397251.

The rule of thumb is to use rigid bodies for anything that should be interacting in any meaningful way with the environment and then you can use simple particles with instancing for adding tons of extra geoemtric detail on top.


FX supervisor - double negative
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