Class DistanceJointOptions
A rod or a rope: keeps two anchors a set distance apart, or within a range, optionally sprung or driven along its length.
public sealed record DistanceJointOptions : JointOptionsBase, IEquatable<JointOptionsBase>, IEquatable<DistanceJointOptions>
- Inheritance
-
DistanceJointOptions
- Implements
- Inherited Members
Properties
DampingRatio
Spring damping ratio; 1 is critical.
public float? DampingRatio { get; init; }
Property Value
EnableLimit
public bool? EnableLimit { get; init; }
Property Value
- bool?
EnableMotor
Drive the length at MotorSpeed.
public bool? EnableMotor { get; init; }
Property Value
- bool?
EnableSpring
Turn the spring on; the joint then behaves as a soft rod rather than a rigid one.
public bool? EnableSpring { get; init; }
Property Value
- bool?
Hertz
Spring stiffness, in hertz.
public float? Hertz { get; init; }
Property Value
Length
Rest length, in metres. Defaults to the distance between the anchors at creation.
public float? Length { get; init; }
Property Value
LowerSpringForce
Lowest force the spring may apply, in newtons; negative pulls.
public float? LowerSpringForce { get; init; }
Property Value
MaxLength
Longest allowed length, in metres.
public float? MaxLength { get; init; }
Property Value
MaxMotorForce
The most force the motor may apply, in newtons.
public float? MaxMotorForce { get; init; }
Property Value
MinLength
Shortest allowed length, in metres.
public float? MinLength { get; init; }
Property Value
MotorSpeed
Motor speed, in metres per second.
public float? MotorSpeed { get; init; }
Property Value
UpperSpringForce
Highest force the spring may apply, in newtons.
public float? UpperSpringForce { get; init; }