Jump to content

Enabling a force for only particles with this attribute


HolesinShoes

Recommended Posts

Hi all!

I'm using a FLIP fluid, with a pop curve force to guide them, which is working well. However, I want to make the particles only have gravity after they've left the curve. To do this, I would expect to be able to use the "oncurve" attribute created by the pop curve force, but the following VExpression is not working:

force = @oncurve == 1 ? force : 0;

This was suggested to me by a user on another forum, however if this can also be done with standard expressions (such as on the activation parameter), then I'd be more than happy to hear it.

Any help is greatly appreciated!

Edited by HolesinShoes
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...