Register Latest Topics
 
 
 


Reply
  Author   Comment  
nextheory

First taste
Registered:
Posts: 4
Reply with quote  #1 
I'm wondering if anyone else has come across this issue, I've been hitting a wall and I know I've done this before but it doesn't seem to work on maya 2015-17.

create a sphere.
create an nParticle emitter. (set to volume, cube)
Goal the nParticle1Shape to the sphere.
create a goalWeight0PP attribute.
Under runtime dynamics expression write: goalWeight0PP += .01;

For some reason it's killing a bunch of particles and stops emitting altogether. A few of the first particles emitted stay alive and their goal weight gradually increases as expected.

What is the issue here? I am trying to do this as a larger scene to gradually increase the goalWeight0PP after the particles reach a certain age, but was running into so many issues I reduced it to this and it doesn't seem to work. I've also tried it on 2 different machines.

I also tried setting the goalWeight0PP = 0, on creation, setting lifespanPP, and using legacy particles but those ideas had the same issue.

What exactly am I missing here? is goalWeightPP broken or is there a step I'm missing. Odd thing is I've done this before without a problem...

Thanks for any info.
0
nextheory

First taste
Registered:
Posts: 4
Reply with quote  #2 
Just as I published that I found a workaround...

It seems to work if I have another goalWeightPP for the particles... this makes sense because I've usually done this goaling from one object to another. I'm setting the goalWeightPP very low for that so it just reacts to forces in the world, then increasing the desired goalWeightPP.

Very strange behavior though, alternative workflows/suggestions welcome. Thanks!
0
David l

First taste
Registered:
Posts: 255
Reply with quote  #3 
Quote:
Originally Posted by nextheory
Just as I published that I found a workaround...

It seems to work if I have another goalWeightPP for the particles... this makes sense because I've usually done this goaling from one object to another. I'm setting the goalWeightPP very low for that so it just reacts to forces in the world, then increasing the desired goalWeightPP.

Very strange behavior though, alternative workflows/suggestions welcome. Thanks!
. I have come across this before when using pr object goalweights, if i remember correctly it happends when all of the goalweight(0-x)PP is zero. If you set the display type to numerical and type in position you should see (nan, nan, nan) displayed at the origin.

my workaround was to ensure all goalweights had a minimum value of 0.00001 with the max() function. This fixed it for me.
0
nextheory

First taste
Registered:
Posts: 4
Reply with quote  #4 
Hey David,

Thanks for you response, your solution of setting the min value is helping in a similar issue I just started facing with disappearing particles.

Really wish we could get a better solution for particle goals (maybe something similar to emFlock </dream>).

Cheers!
0
Previous Topic | Next Topic
Print
Reply

Quick Navigation: