logix1390 Posted April 27, 2019 Share Posted April 27, 2019 hello I am trying to make a custom age attribute in pops using a sop solver. Basically I have particles sliding down a sphere using a pop collision detect. I want to add a new age attribute to only the sliding particles. In the sop solver I use an if statement: f@myage=0; if(@sliding>0){ @myage+=@TimeInc; } however, the @myage attribute does not accumulate and only stays at a certain low value. What am I missing here? I will attach my scene for anyone that wants to take a look. Thanks! custom_age_particles.hipnc Quote Link to comment Share on other sites More sharing options...
ThomasPara Posted April 27, 2019 Share Posted April 27, 2019 your setting @myage back to zero every frame, just remove that line. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.