W3cubDocs

/Godot 3.1

PinJoint2D

Inherits: Joint2D < Node2D < CanvasItem < Node < Object

Category: Core

Brief Description

Pin Joint for 2D Shapes.

Properties

float softness

Description

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

Property Descriptions

float softness

Setter set_softness(value)
Getter get_softness()

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

© 2014–2019 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.1/classes/class_pinjoint2d.html