Hey guys, sorry for my english
There is a way in Houdini to detect the collision and have a organic style deformation without dynamics to avoid the intersection of the meshes? I have some geometry groups (tentacles based on curves) in a single object, so, I thinks is possible with volumes and a vex expression with if and else, but I'm not so good with vex, i'm still learning. So, using a foreach loop , maybe converting the mesh into volumes and use a scatter to have the surface and inside points to detect their position, how can I import in a wrangle the groups and their points info to create this type of action?
I know the message but i don't know how to write it, some ideas?
Thank you
How use volumes to detect collision in sop and deform
3662 2 0- SHE2016
- Member
- 3 posts
- Joined: June 2016
- Offline
- jsmack
- Member
- 8038 posts
- Joined: Sept. 2011
- Offline
If you don't know vex, then why do you want to go that route? There exist nodes (VOPs) for most operations possible in code. It's easier to learn vex if you already have an understanding of what operations are possible, and when to use which technique.
As for your problem, it sounds like you want to use sdf collision. To move points to the surface of an sdf, add the sdf's gradient multiplied by the absolute value of the sdf value to the point's position.
As for your problem, it sounds like you want to use sdf collision. To move points to the surface of an sdf, add the sdf's gradient multiplied by the absolute value of the sdf value to the point's position.
- SHE2016
- Member
- 3 posts
- Joined: June 2016
- Offline
-
- Quick Links