0 votes

Hi,

I am trying to constraint two side-by-side cube shaped rigid bodies together so that they react as one single part until this constraint is removed later during the game.

I have tried with PinJoint without success. The SliderJoint could be a solution but I am having a hard time understanding the parameters.

Maybe joints are not the best approach?

Thanks.

in Engine by (12 points)

1 Answer

+1 vote

You can use 6DOFJoint and set each axis linear limits for min and max to 0 thats what I'm using right now

by (1,022 points)

Thanks it seems to do the trick. What parameters do you use to have a hard link (by default it is a bit softy, I try to play with damping, softness and restitution without any tangible results)?

thats strange, I'm trying to achieve opposite (make it soft) by adjusting sliders without success.

Changing these values seems to have no effect! Maybe it should be reported as a bug.

you're probably right

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.