Struct b3DistanceJointDef
- Namespace
- Box3D.Native
- Assembly
- Box3D.NET.Native.dll
Connects a point on one body to a point on another by a segment.
Mirror of b3DistanceJointDef.
public struct b3DistanceJointDefInherited Members
Remarks
Useful for ropes and springs. Start from B3.b3DefaultDistanceJointDef().
Fields
- base
-
The shared joint fields.
- dampingRatio
-
The spring damping ratio. Non-dimensional.
- enableLimit
-
Whether the length limit is enabled.
- enableMotor
-
Whether the motor is enabled.
- enableSpring
-
Whether the joint behaves like a spring. When false the joint is rigid and both the limit and the motor are overridden.
- hertz
-
The spring stiffness in cycles per second.
- length
-
The rest length. Clamped to a stable minimum.
- lowerSpringForce
-
The lower spring force, controlling how much tension the joint sustains.
- maxLength
-
The maximum length. Must be at least the minimum length.
- maxMotorForce
-
The maximum motor force, usually in newtons.
- minLength
-
The minimum length. Clamped to a stable minimum.
- motorSpeed
-
The desired motor speed, usually in metres per second.
- upperSpringForce
-
The upper spring force, controlling how much compression the joint sustains.