How to make pin joints detach when force is reached

Godot Version

v4.2.1 Stable


Hello everyone!

I have a system of pin joints (3D) attached to each other, except I want to make it so that the pin joints detach or “break” when an amount of linear force is reached. There doesn’t seem to be anything under set_param, and the only source I can find on the topic is incorrect, and states that there is simply a parameter I can set, but there is not.

Any help is appreciated!

I have 2 PR’s that implement this in Godot:

I have written them up but they need to be reviewed and merged. Problem is the physics team at godot is not as big as other teams, so it takes a long time. You can give it a thumbs up on the PR, maybe it might help.