Jump to content

particle over time


alpotnis

Recommended Posts

Add a Group POP above the Force POP. Give the group a real name. Enable the Rule option folder (toggle) in the Group POP and for the expression put:

$AGE > 1

which will put the the particles in this group whose age is greater than 1 second as age is in seconds.

or

You can put the expression

if($AGE > 1, -10, 0)

in the Force POP's Y parameter.

or

You can put the expression

if($AGE > 1, 1, 0)

in the Force POP's Scale parameter and set the Y Parameter to the desired force.

or

Use attributes as eetu did but I like to do the simple things simply. Every attribute added to POPs chews up more memory and allocating memory = slower.

----

Many ways to do this but the first three are the most common way to do this.

Use the expressions directly in the Force POP if this is the only place you are using the Age condition. You can also use $AGE after the POP simulation on subsequent SOPs.

Use the Group approach if you are using the condition in more than one subsequent POP. Groups created in POPs carry on to subsequent SOPs for further processing outside of the simulation.

Use the Attribute approach if you require much more control in further expressions to rework the condition or you have varying conditions per particle or you wish to visualize your condition explicitly in the viewport or later on process this attribute in SOPs.

A handy guide as to when to use your own custom attributes is to see how and when you use the default attributes like $AGE. "Do I want to have the same level of control as accessing the $AGE attribute?"

Edited by old school
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...