Jump to content

Constraint woes - pinning two different packed objects together


Ankit Pruthi

Recommended Posts

Alright so i have been through plenty of posts on using constraint networks in case of packed RBD objects, but i still can't quite find a way to achieve this simple task -

 

Two packed rbd objects (pre-fractured) - one has animation and is set to be a deforming static object, and the other is an active object. I need to pin few of the pieces of the active object to the deforming one.

 

Glue and hard constraints work well for scenarios where the static object isn't deforming. But on deforming geometry, the objects stay constrained to their location and do not move with the animated points.

 

I've also tried cone constraint which seems to make the active object follow the animation but is somewhat unstable, the pieces try to stick but wobble all the way. Not sure what would be the correct way to do this.

Any insights on this if any of you guys have tried would be of great help!!

GluePinTest.hipnc

Edited by Ankit Pruthi
Link to comment
Share on other sites

I was going to send RFE about this, but found another issue with custom center of mass recomputation, and just forgot..

Right now what you can do is to recompute position and orientation (@P and r/orient attributes) of constraint points which should be connected to deforming state pieces.

Link to comment
Share on other sites

Right now what you can do is to recompute position and orientation (@P and r/orient attributes) of constraint points which should be connected to deforming state pieces.

I'm not very expirienced in DOPs so I'm wondering how to go about this. Would it work if I transform that constraint points in SOPs and bring animated/deformed constraints into DOPs (not sure if it's possible), or it should be done in DOPs somehow with SOP Solver maybe (object merging deformed pieces and transforming positions of constraint points with that)?

 

Thanks in advance for any tips.

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.

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