Table of Contents

Class WheelJointOptions

Namespace
Stride.CommunityToolkit.Box2D
Assembly
Stride.CommunityToolkit.Box2D.dll

A wheel on a suspension: the wheel turns freely about the pivot and slides along the axis, usually sprung and limited, with a motor to drive it.

public sealed record WheelJointOptions : JointOptionsBase, IEquatable<JointOptionsBase>, IEquatable<WheelJointOptions>
Inheritance
WheelJointOptions
Implements
Inherited Members

Properties

DampingRatio

Suspension damping ratio; 1 is critical.

public float? DampingRatio { get; init; }

Property Value

float?

EnableLimit

Clamp the suspension travel to LowerTranslation..UpperTranslation.

public bool? EnableLimit { get; init; }

Property Value

bool?

EnableMotor

Drive the wheel at MotorSpeed.

public bool? EnableMotor { get; init; }

Property Value

bool?

EnableSpring

Turn the suspension spring on.

public bool? EnableSpring { get; init; }

Property Value

bool?

Hertz

Suspension stiffness, in hertz.

public float? Hertz { get; init; }

Property Value

float?

LowerTranslation

Lower travel limit, in metres along the axis.

public float? LowerTranslation { get; init; }

Property Value

float?

MaxMotorTorque

The most torque the motor may apply, in newton-metres.

public float? MaxMotorTorque { get; init; }

Property Value

float?

MotorSpeed

Motor speed, in radians per second.

public float? MotorSpeed { get; init; }

Property Value

float?

UpperTranslation

Upper travel limit, in metres along the axis.

public float? UpperTranslation { get; init; }

Property Value

float?