PinJoint2D

Inherits: Joint2D < Node2D < CanvasItem < Node < Object

Pin joint for 2D shapes.

Description

Pin joint for 2D rigid bodies. It pins two bodies (dynamic 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.