Class PrismaticJointOptions
A slider: body B moves along an axis fixed in body A, without turning relative to it.
public sealed record PrismaticJointOptions : JointOptionsBase, IEquatable<JointOptionsBase>, IEquatable<PrismaticJointOptions>
- Inheritance
-
PrismaticJointOptions
- Implements
- Inherited Members
Properties
DampingRatio
Spring damping ratio; 1 is critical.
public float? DampingRatio { get; init; }
Property Value
EnableLimit
Clamp the translation to LowerTranslation..UpperTranslation.
public bool? EnableLimit { get; init; }
Property Value
- bool?
EnableMotor
Drive the slider 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
LowerTranslation
Lower translation limit, in metres along the axis.
public float? LowerTranslation { get; init; }
Property Value
MaxMotorForce
The most force the motor may apply, in newtons.
public float? MaxMotorForce { get; init; }
Property Value
MotorSpeed
Motor speed, in metres per second.
public float? MotorSpeed { get; init; }
Property Value
TargetTranslation
Translation the spring pulls toward, in metres along the axis.
public float? TargetTranslation { get; init; }
Property Value
UpperTranslation
Upper translation limit, in metres along the axis.
public float? UpperTranslation { get; init; }