Jump to content

modify data with bullet


Recommended Posts

Hello again,

I'm trying to do a controlled destruction with the Bullet solver. I have a glue network set up so that I can have pieces break off and eventually split into smaller pieces. The problem is that the destruction in this case isn't forced by an actual impact... I want the pieces to just drift off. I was hoping to use a Modify Data DOP to somehow fool the pieces into thinking they've suffered an impact, but I can't seem to make it work. I was editing the "glueimpulse" value in the Position data for each piece... I know this works for the RBD solver, but nothing is happening in Bullet. The glue weight is zero, except for the cluster glue weight (which is -1).

Is there some other way to convince the chunks to break apart without an impact, but have the clusters stay together initially until I break those links manually in the glue network? I just don't want to have to surgically break off each large chunk in the glue network and then start breaking those down into smaller chunks completely by hand.

Link to comment
Share on other sites

The 'glueimpulse' value is used for the old-style RBD glue (along with the 'glueobject' field). For a glue network, the 'impact' primitive attribute on the glue network's geometry stores the impact values. If the impact value exceeds the strength of the bond, the solver will break the glue.

You can also break glue bonds manually by deleting the corresponding primitives in the glue network geometry - this can be done in a SOP Solver, or by turning on the "Overwrite with SOP" flag on the Glue Network Constraint DOP.

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