multiple packed objs and constraints

   2152   2   1
User Avatar
Member
36 posts
Joined: Feb. 2009
Offline
Hey,
Multiple packed objects can be mixed into the one constraint network right?
Can anyone explain why below example doesnt work?
Each packed object is using a unique name but it looks like constaints for
one of the objects get ignored.
Thanks!

Attachments:
constraint_test.hip (303.7 KB)

User Avatar
Staff
748 posts
Joined: Oct. 2012
Offline
The names of the pieces you use to build the constraint network are different from the names of the pieces you're using in the simulation. For example, if you look at the constraint network's geometry, there are points with a name attribute like ‘top_plate0’, but the packed primitives in the simulation have names like ‘plate0’, so the Bullet Solver can't find some of the objects you're trying to attach constraints to.

The simplest fix is to change the ‘Name Prefix’ parameter on the Voronoi Fracture node from ‘top_plate’ to ‘plate’.

You can also turn off the ‘Create Name Attribute’ parameter on the Assemble SOP, since the previous node has already set up a ‘name’ primitive attribute for you (this can speed things up a lot if you have a large number of fractured pieces).
User Avatar
Member
36 posts
Joined: Feb. 2009
Offline
Ah! didn't notice that
Thanks! ops:
  • Quick Links