Protectedm_Protectedm_Protectedm_Protectedm_Protectedm_Protectedm_Protected Readonlym_Protected Readonlym_Protectedm_Protectedm_Protectedm_Protectedm_Protectedm_Protectedm_Protectedm_Protectedm_Protectedm_Protectedm_Protected Readonlym_Protected Readonlym_Protected Readonlym_Protected Readonlym_Protectedm_Protectedm_Protectedm_Protectedm_Protectedm_Protectedm_Protected Readonlym_Protected Readonlym_Protectedm_Protectedm_Protected Readonlym_Protected Readonlym_Protectedm_Protected Readonlym_Debug draw this joint
Get the first body attached to this joint.
Get the second body attached to this joint.
Get collide connected. Note: modifying the collide connect flag won't work correctly because the flag is only checked when fixture AABBs begin to overlap.
Get the current length
Get linear damping in N*s/m
Get the rest length
The local anchor point relative to bodyA's origin.
The local anchor point relative to bodyB's origin.
Get the maximum length
Get the minimum length
Get the next joint the world joint list.
Get the reaction torque given the inverse time step. Unit is N*m. This is always zero for a distance joint.
Get the linear stiffness in N/m
Get the type of the concrete joint.
Get the user data reference.
ProtectedInitShort-cut function to determine if either body is enabled.
Set linear damping in N*s/m
Set the rest length
clamped rest length
Set the maximum length
the clamped maximum length
Set the minimum length
the clamped minimum length
Set the linear stiffness in N/m
Set the user data. Use this to store your application specific data. This is a merge operation. Only specified keys will be overridden.
Shift the origin for any points stored in world coordinates.
ProtectedSolveThis returns true if the position errors are within tolerance.
ProtectedSolve
A distance joint constrains two points on two bodies to remain at a fixed distance from each other. You can view this as a massless, rigid rod.