Distance Joint Def
Distance joint definition.
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.
Parameters
The first attached body
The second attached body
The local anchor point relative to bodyA's origin
The local anchor point relative to bodyB's origin
The rest length of this joint (distance between anchors). Clamped to a stable minimum value.
Constructors
Properties
Set this flag to true if the attached bodies should collide
The spring linear damping ratio, non-dimensional
Enable the joint limit
Enable the joint motor
Enable the distance constraint to behave like a spring. If false then the distance joint will be rigid, overriding the limit and motor.
The maximum motor force, usually in newtons
The desired motor speed, usually in meters per second