Table of Contents

Struct WheelJoint

Namespace
Box3D
Assembly
Box3D.NET.dll

A wheel with suspension, spin and optional steering.

public readonly record struct WheelJoint : IEquatable<WheelJoint>

Implements

Inherited Members

Properties

AsJoint

Gets the generic handle, carrying what every joint has in common.

MaxSpinTorque

Gets or sets the maximum spin torque, in newton-metres.

MaxSteeringTorque

Gets or sets the maximum steering torque, in newton-metres.

SpinMotorEnabled

Gets or sets a value indicating whether the spin motor is enabled.

SpinMotorSpeed

Gets or sets the spin speed the motor drives towards, in radians per second.

SpinSpeed

Gets the current spin speed, in radians per second.

SpinTorque

Gets the torque the spin motor is currently applying, in newton-metres.

SteeringAngle

Gets the current steering angle, in radians.

SteeringEnabled

Gets or sets a value indicating whether the wheel may steer.

SteeringTorque

Gets the torque steering is currently applying, in newton-metres.

SuspensionDampingRatio

Gets or sets the suspension damping ratio.

SuspensionEnabled

Gets or sets a value indicating whether the suspension spring is enabled.

SuspensionHertz

Gets or sets the suspension stiffness in cycles per second.

SuspensionLimitEnabled

Gets or sets a value indicating whether the suspension travel is limited.

TargetSteeringAngle

Gets or sets the steering angle driven towards, in radians.

Methods

Destroy(bool)

Destroys this joint.

SetSteeringLimits(float, float)

Sets both steering angle limits.

SetSuspensionLimits(float, float)

Sets both suspension travel limits.