Jump to content

particles velocity


mickhah

Recommended Posts

hello. noob question here. i have a pop-network emitting particles from an object. velocity is added to the particles with a popforce node. my question is: how can i control the velocity of particles so it becomes zeroed couple of seconds after the particles birth?

Link to comment
Share on other sites

There are lots ways. You can write a few lines of code to control it using popwrangle, such as ' if(@Frame>25) v@v=0;' . Or you can reduce it gradually. Decrease the velocity when it reach certain threshold then make it to zero. 

Edited by kfu
Link to comment
Share on other sites

hello. thank you for your reply. i have already found the way with pop wrangle. have written this code:

@age = @age;

if (@age > 1)
{
@v = 0;
@force = 0;
}

else
{
@v = @v / (@age * 4);
}

somehow the whole thing works only with @age > 1. if i try to put higher value instead of 1, then there is alway small oscillation.

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...