Pin Joint for 2D shapes.
    public class PinJoint2D : Joint2D

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

Inheritance Chain

Constructors

    public PinJoint2D()

Properties

    public float Softness { get; set; }

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

Methods

    [Obsolete("GetSoftness is deprecated. Use the Softness property instead.")]
    public float GetSoftness()

Getter for Softness

    [Obsolete("SetSoftness is deprecated. Use the Softness property instead.")]
    public void SetSoftness(float softness)

Setter for Softness

Tags: