Jump to content

Flip collision only from the inside of an object


Doum

Recommended Posts

Hey all,

 

I'm trying to fill an object(ie a sphere) with a source emitting from the outside, but once the liquid is inside, I want it to start colliding with the collision object na d stay inside. How can I acheive that ?

 

thanks

 

doum

Link to comment
Share on other sites

  • 6 years later...

Here is one way to do it. Emitting particles in one solver without collisions, and if they are X amount inside the collision sdf we can add those to a group. We then emit those particles in that group in another solver with collisions. We also delete the original particles afterwards because we dont need them anymore, and finally we can combine both in SOPs.

flipemit.jpg.6c1c9e3f84d4e8c52e67e203db2ecd4d.jpg

dv_flipEmitIntoSphere.hipnc

  • Thanks 1
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...