GrooveJoint2D

    Category: Core

    Groove constraint for 2D physics. This is useful for making a body “slide” through a segment placed in another.

    • initial_offset

    The groove’s length. The groove is from the joint’s origin towards length along the joint’s local y axis. Default value: 50