How to set physics constraints on a Geometry Collection?

I have a question about the Physics Constraint Component.

I want to set a physics constraint by specifying a bone name, but no matter how I specify the bone name, the connection destination is always the root.

I’ve tried numbers only, Index_number, and the results obtained using the index from GetAllSocketNames.

I would also like to know how to get the bone names using the volume and overlap.

Thank you in advance

It will always resolve to the root since it’s designed that way. Physics Constraint works much better with StaticMesh or SkeletalMesh components, however GC internals are different. The “bones” in a Geometry Collection are not bones like in a Skeletal Mesh.

It is technically possible to connect between bodies of different GCs, so as a workaround you can split meshes into separate Geometry Collections and constrain them together. However, the internal constraints of a GC are authored and managed by the Chaos solver. So if your GC contains multiple fracture levels and starts breaking, it may impact your external constraint behavior, since all internal bodies are still governed by the root hierarchy. Until the root cluster breaks, the underlying pieces remain structurally connected.

There are more workarounds. For example, in a GC you can create a cluster and set it static or anchored and connect to that, however it will affect how your GC behaves, since all bones are ultimately connected to the root, which governs everything in a GC hierarchy.