godot / 3.2 / classes / class_pinjoint2d.html

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

Property Descriptions

float softness

Default 0.0
Setter set_softness(value)
Getter get_softness()

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

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