Godot Version
Replace this line with your Godot version
Question
During run time I try setting a pinjoint2d's node_b to a rigidbody2d but when I do there is a big offset because the rigidbody2d wasn't right on top of the pinjoint2d. When I try to set the global_position of the rigidbody2d to the pinjoint2d it doesn't seem to care, instead just pinning them together as if I didn't change the position. How can I get this to work?