Joint2D

    Inherited By: , GrooveJoint2D,

    Category: Core

    Base node for all joint constraints in 2D physics. Joints take 2 bodies and apply a custom constraint.

    When and node_b move in different directions the controls how fast the joint pulls them back to their original position. The lower the the more the two bodies can pull on the joint. Default value:



    • node_a

    The first body attached to the joint. Must derive from PhysicsBody2D.


    • node_b

    The second body attached to the joint. Must derive from PhysicsBody2D.