Up to date

This page is up to date for Godot 4.0. If you still find outdated information, please open an issue.

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.