RBD Fracture Constraints not breaking...

   324   4   3
User Avatar
Member
3 posts
Joined: 7月 2021
Offline
Hi all. As the title says my constraints don't seem to be breaking, no matter what I change my distance threshold too? I'm using a SOP level RBD Bullet Solver, and a for-each connected primitive loop to fracture the separate floors and beams.

Thanks in advance!

Image Not Found

Attachments:
destructionFX_rbdSim_mplay_v009.mp4.mp4 (1.4 MB)

User Avatar
スタッフ
411 posts
Joined: 2月 2008
Offline
If you have a hipfile it'll help identify what's going wrong. The way the sim is behaving looks very wrong - I suspect it might have something to do with you possibly having duplicate names in the RBD pieces and constraint anchor names since you are fracturing in a for loop.

Here's a simple example showing the distance threshold breaking the soft constraints.

Attachments:
DistThresholdConstraints.hip (1.0 MB)

User Avatar
Member
3 posts
Joined: 7月 2021
Offline
Hi, a .hip file was attatched, don't know where it went, here it is!

Attachments:
dd_oneCalPlaza_v0023.hipnc (4.0 MB)

User Avatar
スタッフ
411 posts
Joined: 2月 2008
Offline
I don't think that file is the same as the one you showed the problems with, I can't repro the issue in this file and the ball position is very different to the one in your video.
I did notice that you are fracturing the pieces in a for loop, which will result in duplicate names for different pieces - if you use a connectivity SOP to create the name attribute before the RBD Material Fracture SOP, enable the "Fracture per Piece" option, you'll get the same result without the need for a for loop.

You use 2 assemble SOPs to create the names with the same prefix then merge - this results in overlapping names.
In /obj/constraint_and_sim_test you unpack the packed fragments and pipe that through a connect adjacent pieces SOP to create the constraints (which have duplicate names). You then repack the unpacked geo with an assemble SOP set to create the names which creates new unique names - your constraints won't match up with the geo.

Here's a cleaned up version of your hip file with no overlapping names.

Attachments:
dd_oneCalPlaza_v0023_cleanedup.hipnc (4.0 MB)

User Avatar
Member
3 posts
Joined: 7月 2021
Offline
Hi npetit,

Your solution worked! And I can finally move on from a massive halt.

Also, your tip with the Fracture per Piece check box I missed in the RBD material node, very useful!
  • Quick Links