PinJoint2D

Inherits: Joint2D < Node2D < CanvasItem < Node < Object

Pin Joint for 2D shapes.

Description

Pin Joint for 2D rigid bodies. It pins two bodies (rigid or static) together.

Properties

float

softness

0.0


Property Descriptions

float softness = 0.0

  • void set_softness ( float value )

  • float get_softness ( )

The higher this value, the more the bond to the pinned partner can flex.