Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | gazer500 |
I want to connect two rigid bodies together using the PinJoint2D node, but I want it to work so that one object only moves if the other is moving, and it moves/rotates the exact same way as that object. Unity has something like this called a FixedJoint, and I want to know if there’s a way to implement something similar in Godot.
Idk if Godot has something similar, but can’t you just use parenting? Even the Unity docs say that it’s just like parenting, but using physics instead: Unity - Manual: Fixed Joint component reference
Bernard Cloutier | 2021-11-25 20:11
We kinda can use parenting to simulate fixedjoint, we can set staticbody2D as the child of rigidbody2D, and the staticbody acts as it is welded to rigidbody2D, but we can’t weld rigidbody2D to another rigidbody2D by setting it as the child of rigidbody2D ):
Kushal | 2022-01-15 16:53