Jump to content
Sign in to follow this  
jumper

rbdconstraintfromrules proxy @name attr

Recommended Posts

I am a little confused about the rbdconstraintfromrules node. I have to attribute promote the @name attribute to a primitives attribute on the proxy geo input, otherwise I get errors. I have attached the hip file as its very small and simple example. My fix seems to work fine ..... it just bothers me that maybe I am missing something about how the rbdbulletsolver (sop) networks generally need to work. I would appreciate it if you could explain or amend my example - to avoid this hacky fix.

concept_sm_rbd_v001.hip

Share this post


Link to post
Share on other sites

This happens because the "Connect Adjacent Pieces SOP" inside of the "RBD Contraint from Rules SOP" requires the "name" attribute to be on the primitive level and the geometry to be unpacked to properly function. The "RBD Configure SOP" will pack the geometry and promote certain attributes to the point level, you need to put it after(!) the contraints were made and setup or unpack your packed pieces and then pack them again before going into the sim.

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
Sign in to follow this  

×