SimplyMaya Forums

Welcome to the forum, feel free to ask questions here.

Home / forum / Animation / Mel Scripts & Programming / per particle dynamics
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 05-11-2003, 08:55 PM   #1
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default per particle dynamics

I'm trying to set up a partcile system for a puffy dandelion being blown in the wind. Mostly I've got it working except all of the particles fly off simultaneously. What I'd like to do is have them fly off one by one. I tried to write an expression to that effect, but I can't figure out the command to say "make this particle dynamic". Instead it makes all of them dynamic at once.

This is what I've got.

if (particleShape2.particleId <= (frame/2))
{
particleShape2.dynamicsWeight = 0;
}
else
{
particleShape2.dynamicsWeight = 1;
}

I also tried making a new expression ("dynPP"), but I couldn't figure out how to assign it to individual particles.

Any thoughts?

Dann is offline   Reply With Quote
Old 06-11-2003, 03:48 AM   #2
ragecgi
Super Moderator
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts
Default

Well, Danny might have a better mel-way of doing that, but:

Question, is yor system of "seeds" resting on a sphere or other type of solid geometry?

If so, you could try using per-particle GOAL weights by animating a goal-weight ramp on the sphere, thus the "seeds" would blow away only when a pre-determined goal-weight/ramp value reaches them.

Lemme know if that made no sense
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi is offline   Reply With Quote
Old 06-11-2003, 04:00 AM   #3
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Itr made some sense in theory, but I have no idea how to set something like that up. Never used goals. Wouldn't the particle then go to the goal? I don't want that. I want each particle to fly off in it's own direction. Could I do that with your idea?
Dann is offline   Reply With Quote
Old 06-11-2003, 02:37 PM   #4
ragecgi
Super Moderator
 
ragecgi's Avatar
 
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Thanks: 0
Thanked 13 Times in 12 Posts
Default

Sure!

You would just set the initial start of the weight-map total value to be the value at which the seeds are attracted (100% goal).

Then just animate that map to vary away from that value so the seeds fall off in a controllable wave or random depending on your map

Understand?

If not, lemme know
__________________
Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
ragecgi is offline   Reply With Quote
Old 06-11-2003, 03:34 PM   #5
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

No. So confused.

I guess I need to start from scratch learning about goals.
Dann is offline   Reply With Quote
Old 07-11-2003, 06:17 PM   #6
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Rage,

I've been trying to figure this one out, but to no luck. Any chance you can walk me through it?
Dann is offline   Reply With Quote
New Thread

« Previous Thread | Next Thread »

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

1 Month

$34

Month-to-month billing
$34/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
 
 

3 months

$87

Billing every 3 months
$29/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $5 per month or $15 in total compared to monthly billing with this package.

12 months

$288

Billing every 12 months
$24/month
Unlimited access to all videos
Project files to download
Easy to cancel at anytime
Save $10 per month or $120 in total compared to monthly billing with this package.

Your plan will automatically renew. You can cancel at any time via your PayPal account to avoid being charged again.

You can view the FAQ on our video plans here. You can contact us directly here. By clicking one of the buttons above, you agree to our Terms and Privacy Policy.