Class RevoluteJointOptions
A hinge: the bodies share a pivot and turn about it. Optionally sprung toward a target angle, limited to an angular range, or driven by a motor.
public sealed record RevoluteJointOptions : JointOptionsBase, IEquatable<JointOptionsBase>, IEquatable<RevoluteJointOptions>
- Inheritance
-
RevoluteJointOptions
- Implements
- Inherited Members
Properties
DampingRatio
Spring damping ratio; 1 is critical.
public float? DampingRatio { get; init; }
Property Value
EnableLimit
Clamp the angle to LowerAngle..UpperAngle.
public bool? EnableLimit { get; init; }
Property Value
- bool?
EnableMotor
Drive the hinge at MotorSpeed.
public bool? EnableMotor { get; init; }
Property Value
- bool?
EnableSpring
Turn the spring on.
public bool? EnableSpring { get; init; }
Property Value
- bool?
Hertz
Spring stiffness, in hertz.
public float? Hertz { get; init; }
Property Value
LowerAngle
Lower angular limit, in radians from the pose at creation.
public float? LowerAngle { get; init; }
Property Value
MaxMotorTorque
The most torque the motor may apply, in newton-metres.
public float? MaxMotorTorque { get; init; }
Property Value
MotorSpeed
Motor speed, in radians per second.
public float? MotorSpeed { get; init; }
Property Value
TargetAngle
Angle the spring pulls toward, in radians from the pose at creation.
public float? TargetAngle { get; init; }
Property Value
UpperAngle
Upper angular limit, in radians from the pose at creation.
public float? UpperAngle { get; init; }