DistanceJoint Properties |
The DistanceJoint type exposes the following members.
Name | Description | |
---|---|---|
![]() | BodyA |
Get the first body attached to this joint.
(Inherited from Joint.) |
![]() | BodyB |
Get the second body attached to this joint.
(Inherited from Joint.) |
![]() | Breakpoint |
The Breakpoint simply indicates the maximum Value the JointError can be before it breaks.
The default value is float.MaxValue, which means it never breaks.
(Inherited from Joint.) |
![]() | CollideConnected |
Set this flag to true if the attached bodies should collide.
(Inherited from Joint.) |
![]() | DampingRatio |
The damping ratio. 0 = no damping, 1 = critical damping.
|
![]() | Frequency |
The mass-spring-damper frequency in Hertz. A value of 0
disables softness.
|
![]() | JointType |
Gets or sets the type of the joint.
(Inherited from Joint.) |
![]() | Length |
The natural length between the anchor points.
Manipulating the length can lead to non-physical behavior when the frequency is zero.
|
![]() | LocalAnchorA |
The local anchor point relative to bodyA's origin.
|
![]() | LocalAnchorB |
The local anchor point relative to bodyB's origin.
|
![]() | World |
Get the parent World of this joint. This is null if the joint is not attached.
(Inherited from Joint.) |
![]() | WorldAnchorA | (Overrides JointWorldAnchorA.) |
![]() | WorldAnchorB | (Overrides JointWorldAnchorB.) |