Points collide and stick to geometry

   3862   2   0
User Avatar
Member
164 posts
Joined: Feb. 2014
Offline
I've got a bunch of scattered points and I want to move an object through them.
If the object collides with the points the points will stick to the geometry.

Any thoughts on how to approach would be appreciated.

Thanks
Simon



EDIT

I've got one solution, using a SOP Solver and Attribute Transfer (attached Collide Solver.hiplc).
There's two setups in the file. I've got it working with static points but moving (pop) points don't work as I'm always reading the last frame.

Plus I'm attracting to the nearest point not the surface. I think I can fix with a point cloud and sticking with xyzdist but will take me a while to figure out…
Attachment Not Found


EDIT 2

Ah there's a pop node for it
Edited by Simon Russell - May 15, 2018 11:48:00

Attachments:
Collide.hiplc (111.0 KB)
Collide Solver.hiplc (438.1 KB)

http://simonfarussell.com [simonfarussell.com]
User Avatar
Member
323 posts
Joined: Jan. 2015
Offline
Hi Simon,
i did not look at your hip…

But you may want to look at this:
http://www.sidefx.com/docs/houdini/nodes/pop/collision.html [www.sidefx.com]

Quoting:
“Behavior
Behavior
Controls how the motion of particles is affected by the collision.



Stick on collision

Particle stops and attaches itself to the surface.

Slide on collision

Particle slides along the surface.

…”

greetings

Olaf
User Avatar
Member
164 posts
Joined: Feb. 2014
Offline
Olaf Finkbeiner
Hi Simon,
i did not look at your hip…

But you may want to look at this:
http://www.sidefx.com/docs/houdini/nodes/pop/collision.html [www.sidefx.com]

Quoting:
“Behavior
Behavior
Controls how the motion of particles is affected by the collision.



Stick on collision

Particle stops and attaches itself to the surface.

Slide on collision

Particle slides along the surface.

…”

greetings

Olaf

Ah man! Yeah that completely solves it straight out the box! Thanks Olaf
http://simonfarussell.com [simonfarussell.com]
  • Quick Links