Jump to content

rbdconstraintfromrules proxy @name attr


jumper

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

Link to comment
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.

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