Welcome to od|forum

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

ikoon

Two RBD packed constraints 1) Spring to keyframed World Space Position 2) Spring between adjacent pieces

constraints.thumb.png.a9bd180daf779a82abaa39b0ddaae527.png

 

Please see the attached image. Attached is also the hip file I made by following this, https://vimeo.com/97640407 from Peter Quint, but it is not on packed rbds.
I can do the classic packed rbd, connect adjacent pieces, set the constraint network and relationship.


I dont know how to:
 - get positions from the individual Packed Objects
 - set those positions to the individual Anchors: Object Space Position
 - merge Constraint Network with Apply Relationship

I would like to understand it. Could you please direct me?

Also, please, I dont know how to debug in DOPs. In SOPs, I can print to console, make additional attributes in SOPs and watch them in the Geometry Spreadsheet. Would you please share some tips, related to this issue?

constraints.hiplc

Edited by ikoon

Share this post


Link to post
Share on other sites

Not 100% sure what you want, but I rebuilt your scene using constraint networks and packed prims. Now there is one spring network which follows the points, and another that attaches them to each other. I find Apply Relationships tricky to use, so I don't use it.

If you go inside the anim_points node, there are two red nodes inside. In them are the strength, and the damping controls for the two spring systems. 

The yellow lines are the constraints.

constraints.gif

constraints.hiplc

1 person likes this

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