PinJoint2D¶
Inherits: Joint2D < Node2D < CanvasItem < Node < Object
A physics joint that attaches two 2D physics bodies at a single point, allowing them to freely rotate.
Description¶
A physics joint that attaches two 2D physics bodies at a single point, allowing them to freely rotate. For example, a RigidBody2D can be attached to a StaticBody2D to create a pendulum or a seesaw.
Properties¶
|
Property Descriptions¶
float softness = 0.0
The higher this value, the more the bond to the pinned partner can flex.