Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
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.
描述¶
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.
属性¶
|
Property Descriptions¶
float softness = 0.0
The higher this value, the more the bond to the pinned partner can flex.