You can use a custom Boolean attribute to keep track of whether a particle was 
ever inside the null. Something like:

((Get WasEverInsideNull) OR (Test Inside Null) ) --> Set WasEverInsideNull

Before you set it to anything, WasEverInsideNull will have the default value 
False.  As soon as the  particle is inside the null it becomes True because of 
the Test Inside Null. After that, it stays true because you're also getting its 
previous value.

gray

From: [email protected] 
[mailto:[email protected]] On Behalf Of Adam Sale
Sent: Monday, April 08, 2013 02:42 AM
To: [email protected]
Subject: Help with Momentum and Gravity

For any momentum users out there.

http://vimeo.com/15461863

Byungchuls video is pretty clear explaining how to use a null test on ICE 
controlled deform RBDs to create a fracture effect.

What I want to do is similar, except incorporate Gravity into the equation. In 
his example, he disables, it so that chunks only move when they get inside the 
volume of a ringed null. Once the chunk moves outside of the ringed null, it 
reverts back to a sleeping mode.

I want the chunk to fall even after the null has moved on. However, in my tests 
it seems like this doesn't work so well when switching from  sleeping to 
simulated states based on the test inside null.

How are other people getting things like this to work?

I know I can use the Set Mass to go from passive to active and also use Remove 
from Cluster to get the effect, but I am really looking to see if the switch 
from sleeping to simulated can do the job.

I posted this to the momentum mailer as well, but it didn't seem to get picked 
up. I also figured there might be more eyeballs on this list.

Thanks :-)

Adam


<<attachment: winmail.dat>>

Reply via email to