Jump to content
EuniceC

pop gravity node

Recommended Posts

Hi,

I made a deformed wave and I turned a patch of it into flip object. I wanted the patch of flip to move with the deformed wave mesh, so I bypassed the gravity node. I then have a geometry colliding the patch of flip particles but the problem I have now is that, because I already made it zero gravity on the patch, the sprays formed from the collision is now floating in air. I wanted the spray and foam to be influenced by gravity so they fall back to the ground but at the same time I want my patch of flip to move along the deformed wave mesh. Does anyone have any suggestions on how to achieve this?

Thanks

Share this post


Link to post
Share on other sites

I'm not sure I fully understand your intent, but you could try grouping whatever spray particles you have, and adding a POP Force on just that group, or set a rule in the VEXPression section of a POP Force to single out the particles acting as spray by some attribute or another.

Share this post


Link to post
Share on other sites

The only way I can see this working is that I use pop wrangle and group them by velocity. so something along the lines like if (@v > 0), activate gravity. There's no gravity expression in VEX, I'm not entirely sure how to go about giving it a force.

This is my file here.

flipCollide.hip

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×