sticking and clinging particles H13

   8707   9   1
User Avatar
Member
14 posts
Joined: Sept. 2013
Offline
Hello everyone,

Houdini 12 POP property had an attribute called cling which enabled us to control the sliding behavior of the particles.
However, this attribute cling in Houdini 13 POP property version does not exist anymore.
Any way to use the cling attribute in H13 version ?


I would like to make the particle stick until a certain point and then slide or fall. I have tried keying the response in collision behavior but no luck out there. Particles are fading away. It seems like we can't change response mode like that


Thanks
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
If you wanna just stick your particles to the surface , then they falling or sliding after certain time , you can use friction point attribute.

Just add a custom point attribute to your source geometry and set it's name to friction.

Then you can set keyframe for it's value , Now your particles sticking to the surface , then after certain frame they should falling.

NOTE : if you wanna stick them to the surface , you should set Bounce parameter for particles object to 0 too !
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
If you add this point attribute in the Geometry network ( Object source for particles) , After changing friction value from some big number to zero , only new generated particles will slide on the surface and old ones will stick forever.

If you wanna affect all of the particles (old generated and new generated) with this attribute , you should use SOP Solver DOP and put your custom attribute on it :idea:
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
This is a simple project about this.
The particles stick to the surface , then they sliding after frame 53 !

Attachments:
JK_POP_Stick_Slide.hip (297.0 KB)

https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
14 posts
Joined: Sept. 2013
Offline
awesome thank you

But how would you do when your particles is already sticking to your surface at the beginning of the frame range and begin sliding after certain frame ?

I am using POP collision behavior with response mode to sticky but when I disable activation or change response to slide, some particles are disappearing.

I am scattering points on a surface and use these points for emission to stick to the surface so they are sticking to the surface with to the POP collision behavior node

Thanks
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
But that's not different !
You can use same way for stick your particles at the first frame :idea:
https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
1391 posts
Joined: Dec. 2010
Offline
Just check this project , In this project I make a more interesting effect with adding noise to stick attribute of the points :wink:

Attachments:
JK_POP_Stick_Slide_Advance.hip (298.5 KB)

https://www.youtube.com/c/sadjadrabiee [www.youtube.com]
Rabiee.Sadjad@Gmail.Com
User Avatar
Member
14 posts
Joined: Sept. 2013
Offline
thanks for your help, nice setup
User Avatar
Member
3 posts
Joined: June 2013
Offline
Hi Joker386,

I was checking your file ,and I was trying similar sticking with stick on collision using attribute “stuck” but not happening ,can you please guide me on this .

In existing file I added collision detect node with collision object and set response to stick and change attribute name from friction to stuck in sopsolver ,vopsop .
User Avatar
Member
11 posts
Joined: May 2015
Offline
Hi I chanced upon this thread as I am doing something similar.

While opening the file, as soon as I tried to add some animation on the box object (set some keyframes in translateX). it seems that, while the group of particles are indeed moving, but the sliding are no longer occuring.
I tried bypassing the static object nodes in the solver but that does not seems to help.

Am I missing something here?
  • Quick Links