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

    public float GetSoftness()

Getter for Softness

    public void SetSoftness(float softness)

Setter for Softness

Tags: