Api Sandbox WheelJoint
class

WheelJoint

public sealed class WheelJoint : Joint

The wheel joint can be used to simulate wheels on vehicles. The wheel joint restricts body B to move along a local axis in body A. Body B is free to rotate. Supports a linear spring, linear limits, and a rotational motor. The assumption is that you will create this joint on the wheel body.This will enable suspension to be in the correct direction.

Constructors

WheelJoint()

Properties

Name Type Description
EnableSuspensionLimit Boolean
SuspensionLimits Vector2
EnableSpinMotor Boolean
MaxSpinTorque Single
SpinMotorSpeed Single
EnableSuspension Boolean
SuspensionHertz Single
SuspensionDampingRatio Single
EnableSteering Boolean
SteeringHertz Single
SteeringDampingRatio Single
TargetSteeringAngle Single
MaxSteeringTorque Single
EnableSteeringLimit Boolean
SteeringLimits Vector2
SpinSpeed Single
SpinTorque Single
SteeringAngle Single
SteeringTorque Single
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.WheelJoint