Class DistanceJointDef2D
Definition of a 2D Distance Joint.
Inherited Members
Namespace: Evergine.Common.Physics2D
Assembly: Evergine.Common.dll
Syntax
public class DistanceJointDef2D : JointDef2D<IDistanceJoint2D>
Fields
DampingRatio
The damping ratio. 0 = no damping, 1 = critical damping.
Declaration
public float DampingRatio
Field Value
Type | Description |
---|---|
float |
FrequencyHz
The mass-spring-damper frequency in Hertz. A value of 0 disables softness.
Declaration
public float FrequencyHz
Field Value
Type | Description |
---|---|
float |
Lenght
/// The natural length between the anchor points.
Declaration
public float Lenght
Field Value
Type | Description |
---|---|
float |