Godot Version 3.5.3
I have two pinned bodies, but I want in certain moment to “disconnect” these two bodies. How can I do that?
Godot Version 3.5.3
I have two pinned bodies, but I want in certain moment to “disconnect” these two bodies. How can I do that?
Just reset either node_a
or node_b
of the PinJoint:
$PinJoint2D.node_a = NodePath("")
$PinJoint2D.node_b = NodePath("")
Thanks, solved my question haha
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.