class
DistanceJoint
A joint that maintains an upper or lower (or both) bound on the distance between two bodies.
Public
Constructors
DistanceJoint
Methods
GetDistance
Returns the current distance between the two joint bodies.
SetMinDistance
Determines the minimum distance the bodies are allowed to be at, they will get no closer.
You must enable min distance flag in order for this limit to be applied.
GetMinDistance
SetMaxDistance
Determines the maximum distance the bodies are allowed to be at, they will get no further.
You must enable max distance flag in order for this limit to be applied.
GetMaxDistance
SetTolerance
Determines the error tolerance of the joint at which the joint becomes active.
This value slightly extends the lower and upper limit.
GetTolerance
SetSpring
Determines a spring that controls how the joint responds when a limit is reached.
You must enable the spring flag on the joint in order for this to be recognized.
GetSpring
SetFlag
Enables or disables a flag that controls joint behaviour.
staticGetRttiStatic
Internal
Methods
GetImplementation
Returns the low level joint implementation.
Protected
Constructors
DistanceJoint
Methods
CreateImplementation
Creates the implementation the joint for use by the component.