Jump to content
michaelb-01

Constraint between packed primitive and RBD object

Recommended Posts

I have some packed primitives all constrained together and I would then like to constraint them to an object that i've animated in sop. Is there a way of constraining my packed primitives to and RBD object so that I could enable 'Use deforming geometry'? Or am I able to update the translation and rotation of a packed primitive in DOPs (using a SOP solver or otherwise) - The geometry is not deforming is only translating and rotating.

 

Thanks,

Mike

Share this post


Link to post
Share on other sites

I have some packed primitives all constrained together and I would then like to constraint them to an object that i've animated in sop. Is there a way of constraining my packed primitives to and RBD object so that I could enable 'Use deforming geometry'? Or am I able to update the translation and rotation of a packed primitive in DOPs (using a SOP solver or otherwise) - The geometry is not deforming is only translating and rotating.

 

Thanks,

Mike

The constraint working with OBJ level transform or rotate.

Share this post


Link to post
Share on other sites

Hey thanks for your reply. I think I tried that but I couldn't get it working (the object is attached to a path so I don't know if that changes anything). Is there an example scene or do you have a file I could take a look at?

Thanks

Share this post


Link to post
Share on other sites

I guess you're talking about the update a couple of weeks ago? (https://www.sidefx.com/index.php?option=com_journal&Itemid=213&page=index&journal=default&logfile=ALL&perpage=20&start=20&icon=ALL&search=&view=FULL&version=ALL&buildstart=&buildend=)

 

I'll try that out today. What would I have done before? Surely this is a very simple task!!

Share this post


Link to post
Share on other sites

Hay michaelb if your still wondering about this. I was looking into this myself and found if you are using the connectadjacentpieces node to build your constraints for your objects, you need to have the RBD object named in dops to the corresponding name that's on the constraint. That way you can have packed geo connected with a rbd object. 

 

In the sample file i just recreated the pack object and constraint network for my own research. you can just use the standard pack node and constraint network node, you dont need to set it up like that. The important thing to note is that i named the rbd object "ball_12" which corresponds to the point attribute @name on the constraints. 

BuildFromScratch.v04.hiplc

Edited by Alex Lombardi

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×