Getting the number of particles in a given state


There were two techniques suggested on the mailing list, but only one worked for me in Softimage 2012. There seems to be a problem with Get Set Sum (see the screenshot below). Using Filter and Get Set Size works just fine.

I was going to run the performance timers to see if there was any difference between the two techniques, but since the Get Set Sum doesn’t return the right number, there was no point.

BTW, when you’re using the state machine with the Simulation Root, anything you plug into the Execute node is processed only in the initial state. If you want to something always processed (like the Set Data above), plug it into the post-sim execute port.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s