Table of Contents

Struct b3WheelJointDef

Namespace
Box3D.Native
Assembly
Box3D.NET.Native.dll

Models a wheel with suspension, spin and optional steering. Mirror of b3WheelJointDef.

public struct b3WheelJointDef

Inherited Members

Remarks

Body A is the chassis and body B is the wheel. The wheel spins about the local z axis of frame B and translates along the local x axis of frame A.

Fields

base

The shared joint fields.

enableSpinMotor

Whether the spin motor is enabled.

enableSteering

Whether steering is enabled. When false the steering is fixed forward.

enableSteeringLimit

Whether the steering angle limit is enabled.

enableSuspensionLimit

Whether the suspension travel limit is enabled.

enableSuspensionSpring

Whether the suspension spring is enabled.

lowerSteeringLimit

The lower steering angle limit in radians.

lowerSuspensionLimit

The lower suspension travel limit.

maxSpinTorque

The maximum spin torque, usually in newton-metres.

maxSteeringTorque

The maximum steering torque, in newton-metres.

spinSpeed

The desired spin speed in radians per second.

steeringDampingRatio

The steering damping ratio. Non-dimensional.

steeringHertz

The steering stiffness in cycles per second.

suspensionDampingRatio

The suspension damping ratio. Non-dimensional.

suspensionHertz

The suspension stiffness in cycles per second.

targetSteeringAngle

The target steering angle in radians.

upperSteeringLimit

The upper steering angle limit in radians.

upperSuspensionLimit

The upper suspension travel limit.