Jump to content

Copy-to-points RBD-Packed dopnet does not work


nassosy123

Recommended Posts

I'm trying to randomly copy/instance a bunch of objects into a scattered point-cloud using the new "Attribute from pieces" and "Copy to points" nodes.

I want to manipulate them in a simple DOPnet sourcing them with "RBD Pack Object" and solving them using the "Rigid Body Solver",

but the solver doesn't seem to find the neither the "name" attribute or a compatible geometry.

I can't figure out what is wrong with it. 

Can anyone help? 

(tried with SOP level RBD solver and it works fine. still i want to use a DOPnet)

 

thanks in advance.

(using Houdini 18.5.408 on win10)

 

swarm-01.zip

preview.jpg

Link to comment
Share on other sites

On the bullet solver, in Advanced, set Sleeping Time to zero.
Some of the pieces are moving so slowly that they get de-activated over time.
For the dopnet part, you need a unique name per pieces, you can create that from the ID

s@name="piece_"+itoa(i@id);

I attached an example, also adding some initial velocity to the pieces.

 

swarm-02.zip

  • Like 1
Link to comment
Share on other sites

thanks for Sleeping Time hint!

As for the DOPnet, i opened the file and it still didn't work, 

Then i deleted and re-created the RBD Packed Object node and everything worked like a charm, even without your modification.

(propably a glitch, don't know)

 

thank you for your help. i'm gratefull.

 

 

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