Abstract base class for all joints in 2D physics. 2D joints bind together two physics bodies and apply a constraint.
When node_a and node_b move in different directions the bias controls how fast the joint pulls them back to their original position. The lower the bias the more the two bodies can pull on the joint.
When set to 0
, the default value from ProjectSettings.physics/2d/solver/default_constraint_bias is used.
The first body attached to the joint. Must derive from PhysicsBody2D.
The second body attached to the joint. Must derive from PhysicsBody2D.
Returns the joint's RID.