+1 vote

I want to connect two RigidBody2Ds together with a joint and allow the player to control that joint. The joint would be "stiff" and try not to pivot when not being controlled (kind of like QWOP).

It looks like HingeJoint is close to what I want, but it is only in 3D. What would be a good way to implement this in 2D?

in Engine by (13 points)

Did you ever figure out a way to implement something like that in 2D? I am trying to find a way to do it myself.

Nope! Let me know if you do. Good luck!

1 Answer

–1 vote

What you are looking for is a PinJoint2D. You can change the "softness" param to control the level of pivoting.

by (17 points)
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 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.