Base node for all joint constraints in 2D physics.
Base node for all joint constraints in 2D physics. Joints take 2 bodies and apply a custom constraint.
Return the path to the A node for the joint.
Return the path to the B node for the joint.
Set the path to the A node for the joint. Must be of type [PhysicsBody2D].
Set the path to the B node for the joint. Must be of type [PhysicsBody2D].
When [member node_a] and [member node_b] move in different directions the [code]bias[/code] controls how fast the joint pulls them back to their original position. The lower the [code]bias[/code] the more the two bodies can pull on the joint. Default value: [code]0[/code]
If [code]true[/code] [member node_a] and [member node_b] can collide. Default value: [code]false[/code].
The first body attached to the joint. Must derive from [PhysicsBody2D].
The second body attached to the joint. Must derive from [PhysicsBody2D].