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

floatsoftness0.0

Property Descriptions

Default0.0
Setterset_softness(value)
Getterget_softness()

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

doradoro's advice! Getters and Setters will be deprecated! Avoid their use!

Disclaimer: This page has been automaticaly and directly extracted from the official Godot Docs website, the 2020-03-07 at 01:36:27. It's the English Stable version because it's what most Godot users should use. The Copyright owners are Juan Linietsky, Ariel Manzur and the Godot community. CC-BY 3.0. Thanks for your patience and generosity.