I have a setup where I want to have constraints between two separate RBD objects, I only want the fractured pieces of one object connected to the nearby adjacent pieces of the other, I do not want to create a bunch of inner constraints on each piece.
I merged my two objects together to make one so I could use the connect adjacent pieces node to create constraints between the two. I figure maybe If I can run some code in order to check if an edge's two points have unique names between them they could be grouped together, and then the rest can be discarded.
an attached image of the sort of what I'm going for.
Also if there is a better way to create constraints between two objects let me know.
is it possible to select edges using VEX
2118 2 0-
- AcidZack
- Member
- 7 posts
- Joined: April 2020
- Offline
-
- animatrix_
- Member
- 5116 posts
- Joined: Feb. 2012
- Offline
Hi,
What you are describing is a good workflow for destruction. I made a tool long ago that does exactly this and used in multiple shows before:
https://www.dropbox.com/s/9u49z1yipcqehj0/PointConnect_SOP_Animatrix.otl?dl=1 [www.dropbox.com]

It allows you to connect between different or the same attribute values for inter and intra piece clustering without writing code as well as removing all duplicates, leaving only unique constraints behind, etc.
It saves a lot of sim time due to significant reduction of constraints, which is often the most time consuming part of the solve.
What you are describing is a good workflow for destruction. I made a tool long ago that does exactly this and used in multiple shows before:
https://www.dropbox.com/s/9u49z1yipcqehj0/PointConnect_SOP_Animatrix.otl?dl=1 [www.dropbox.com]

It allows you to connect between different or the same attribute values for inter and intra piece clustering without writing code as well as removing all duplicates, leaving only unique constraints behind, etc.
It saves a lot of sim time due to significant reduction of constraints, which is often the most time consuming part of the solve.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
-
- AcidZack
- Member
- 7 posts
- Joined: April 2020
- Offline
-
- Quick Links

