Jump to content

Multisolver. Add new dynamic object


volta

Recommended Posts

Hi!

I have a problem to understand the Multisolver logic. I tried to add another RBD object to the "emit_objects" file of the Bullet masterclass on vimeo. When I used the shelf tool, Houdini added a second RBD solver, which works, but is very slow and - as far as i understood - not the right way to go. So how would you hook that up? After merging the new dynamic object to the RBD packed object, the solver gets confused and uses one of the emitted teapots in generating the collision geometry.

See the attached picture and scenefile, please. Sorry if this is very basic, I couldn't find a solution.

post-12911-0-65409200-1424267138_thumb.j

Thanks!

emit_objects2.hipnc

Link to comment
Share on other sites

The problem is that SOP solver works on all dynamic objects you have in scene. In this case you have 2 objects - regular one and packed. When you run SOP Solver it will copy this new packed piece into both objects - thats why you see this unwanted behaviour - box_object1 object is modified too.

Unfortunately at the moment it is a bit tricky to make SOP solver to work only on desired object - there is a group field but it will get ignored unless you set "Solver Per Object" on Multi solver on (which I don't think is the best solution as it will create separate bullet solvers for each object and they may start to behave odd).

I think there are 2 better solutions:

1) combine all objects into 1 DOP packed object - you will get everything working for free

2) check the name of current DOP object inside SOP solver and switch only if it match the desired one

Link to comment
Share on other sites

Ok - The best solution so far.

 

Add Empty Data after packed object.

Then add Enable Solver after SOP solver and match the name of the empty data in Enable Data field.

This way you have full control when SOP Solver will be evaluated.

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