Jump to content

How to contraint each fractured object to its pivot?


Recommended Posts

Hi Guys,

I need to constraint each fractured objects to its pivot, I read on a old topic that is possible with the apply relationships node+pin constraint, but i'm having some troubles...

It doesn't work this way afaik. You can't use object mask in pin constraint. You can constraint each object to its pivot by using Apply relationships node, use something like argc(dopobjscreatedby("../fractureparms")) as number of rels and stamp pivot pos info of every object to pin constraint node. This way you constrain ALL frags. So you need to decide which pieces to constrain first.

Or you can simply change the active state of the objects -> use dopoption($DOPNET, $OBJID, "Position" "py") > some_height as activation for Active State DOP(don't forget to Set Always). This way every frag with pivot Y coord > some_height at $CT became passive.

Another way is to glue all frags to ground with some glue force.

The other method changing the state of the objects works but if I add a glue network it doesn't work anymore cuz there are 2 overrides I think.

Using this expression in the constrained location inside the pin constraint works but of course it not gets the pivot of each fractured piece.


Thanks in advance.


  • Like 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.

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...