Jump to content

primitive group instancing to points


Recommended Posts

Hi All!

Im working on a project that involves a lot of small objects to fall down and collide with each other. My geometry consists of a big grid of different shaped boxes. I want to try the new ODE solver for this so I have to figure out a way which does not involve the RBD fractured dop. I was thinking about instancing each

"object primitive group" to a grid of points, with a point for each object, and then using an RBD point object with the ODE solver. So my question...is there a way / an expression I dont know, to instance primitve groups to points, bases on a matching ID attribute? So point 1 gets PrimitiveGroup_01 instanced to it?

Thanks & Cheers!

Koen

Link to comment
Share on other sites

  • 4 weeks later...
n...is there a way / an expression I dont know, to instance primitve groups to points, bases on a matching ID attribute? So point 1 gets PrimitiveGroup_01 instanced to it?

The quick answer is no. You can only instantiate objects, not groups which are part of an object.

However, if you split up an object (based on its groups) into lots of separate objects, then yes, that'll work fine. You can then use a CreateAttribute SOP to create an "instance" attribute on each point with the absolute path for each instantiated object.

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