SimplyMaya Forums

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

Home / forum / Animation / Mel Scripts & Programming / nParticleShape Emitter2Rate question / help please
Register FAQ Members List Calendar Mark Forums Read

New Thread
 
Thread Tools
Old 10-10-2017, 07:37 PM   #1
dudestein
Registered User
 
Join Date: Oct 2017
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default nParticleShape Emitter2Rate question / help please

Hi Everyone,

I'm fairly new to MEL and as such expressions & programming of any sort. I was hoping someone here could help me with regards to what I think should be a fairly simple problem to solve... however, I've tried my best on my own and doing google searches to no avail.

Here's my situation:

I'm trying to create a 'Debris & Dust' rig

1. I'm birthing nParticleShape1 to carry instanced geometry (the debris). This nParticleShape1 is set to 'LIVEFOREVER'

2. From this nParticleShape1, I'm using it as an emitter to birth my second set of particles (nParticleShape2). I added to this emitter the 'Use Per-Point Rates (ratePP)'

3. I then went to the nParticleShape1 Per Particle (Array) Attributes and right clicked on the field beside Emitter 2Rate PP to make a creation expression which is:
nParticleShape1.emitter2RatePP = 1;

(I assume this tells Maya to birth a nParticleShape2 from EACH of the nParticleShape1 particles every 24 frames (seeing as my scene is set to 24fps)

4. From my tests... it appears as though this is what is happening. Now for my quandary:

I would like to tell the emitter2RatePP to birth only 1 particle ONCE and NOT every 24 frames. I only want ONE nParticleShape2 from each of the original nParticleShape1's.

The reason for this is that the job of the nParticleShape2 is to generate the Dust coming from the Debris... but I don't want continual puffs of dust being emitted as the debris falls through the shot... i want only once emission so that I can control that one 'puff' of dust from each piece of Debris.

I hope my explanation isn't too convoluted or hard to follow... any help you all could offer would be greatly appreciated.

https://simplymaya.com/forum/images2/smilies/help.gif
dudestein 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
A question about the view and another about animations Saijee Maya Basics & Newbie Lounge 2 24-06-2014 12:15 AM
Selection question JesusPitt Maya Basics & Newbie Lounge 0 20-05-2014 10:30 PM
Simple Question: I rendered my pictures; what next? Connor Lee Mental Ray 3 02-10-2012 01:19 AM
Real Flow question TravisCowsill Maya Basics & Newbie Lounge 7 11-09-2012 03:06 PM
Photoshop UV strategy question [NEWBIE QUESTION] aaronkneile Maya Basics & Newbie Lounge 3 28-04-2011 04:07 AM

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.