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

Default

0.0

Setter

set_softness(value)

Getter

get_softness()

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