GrooveJoint2D

Inherits: Joint2D < Node2D < CanvasItem < Node < Object Groove constraint for 2D physics.

Description

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

Properties

Property Descriptions

  • float initial_offset initial_offset along the joint’s Y axis (along the groove).

  • float length length along the joint’s local Y axis.