Jump to content

Instancing primitives from an object to separate particles


Recommended Posts

I used a break and an assemble SOP to cut an object into 4 packed primitives and then assigned each piece a name attribute, i.e., piece0, piece1, etc. I then used a ForEach to add a point at the centroid of each piece. I then grouped the centroid points and used them as a source to a POP in DOPs.


In DOPs, I want to assign each fracture piece (e.g., piece0, piece1...) to the 4 centroids being used as particle sources in DOPs with an Instance POP but I can't get the instancepath set back to the piece. I've tried both VEX and HScript on the POP Instance node and the instancepath looks correct in the spreadsheet but the pieces don't move independently.


Script attached. I'm sure something in my expressions is the problem. I imagine its dead simple but I can't find it. If anyone has time to take a look, I'd appreciate it.




  • Like 1
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.

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