Pin joint for 3D shapes.
    public class PinJoint : Joint

Pin joint for 3D rigid bodies. It pins 2 bodies (rigid or static) together.

Inheritance Chain

Constructors

    public PinJoint()

Properties

    public float Params__bias { get; set; }

The force with which the pinned objects stay in positional relation to each other. The higher, the stronger.

    public float Params__damping { get; set; }

The force with which the pinned objects stay in velocity relation to each other. The higher, the stronger.

    public float Params__impulseClamp { get; set; }

If above 0, this value is the maximum value for an impulse that this Joint produces.

Methods

    [Obsolete("GetParam is deprecated. Use the Params__impulseClamp property instead.")]
    public float GetParam(Param param)

    [Obsolete("SetParam is deprecated. Use the Params__impulseClamp property instead.")]
    public void SetParam(Param param, float value)

Inner Types

Param

Name Value Description
Bias 0 The force with which the pinned objects stay in positional relation to each other. The higher, the stronger.
Damping 1 The force with which the pinned objects stay in velocity relation to each other. The higher, the stronger.
ImpulseClamp 2 If above 0, this value is the maximum value for an impulse that this Joint produces.
Tags: