API ReferenceSandbox
WheelJointclass
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.
Constructors1
Showing 1 constructors
public WheelJoint()
No results match this filter.
Properties19
Showing 19 properties
public bool Sandbox.WheelJoint.EnableSpinMotor { get; set; }
Returns:
bool—public bool Sandbox.WheelJoint.EnableSteering { get; set; }
Returns:
bool—public bool Sandbox.WheelJoint.EnableSteeringLimit { get; set; }
Returns:
bool—public bool Sandbox.WheelJoint.EnableSuspension { get; set; }
Returns:
bool—public bool Sandbox.WheelJoint.EnableSuspensionLimit { get; set; }
Returns:
bool—public float Sandbox.WheelJoint.MaxSpinTorque { get; set; }
Returns:
float—public float Sandbox.WheelJoint.MaxSteeringTorque { get; set; }
Returns:
float—public float Sandbox.WheelJoint.SpinMotorSpeed { get; set; }
Returns:
float—public float Sandbox.WheelJoint.SpinSpeed { get; set; }
Returns:
float—public float Sandbox.WheelJoint.SpinTorque { get; set; }
Returns:
float—public float Sandbox.WheelJoint.SteeringAngle { get; set; }
Returns:
float—public float Sandbox.WheelJoint.SteeringDampingRatio { get; set; }
Returns:
float—public float Sandbox.WheelJoint.SteeringHertz { get; set; }
Returns:
float—public Vector2 Sandbox.WheelJoint.SteeringLimits { get; set; }
public float Sandbox.WheelJoint.SteeringTorque { get; set; }
Returns:
float—public float Sandbox.WheelJoint.SuspensionDampingRatio { get; set; }
Returns:
float—public float Sandbox.WheelJoint.SuspensionHertz { get; set; }
Returns:
float—public Vector2 Sandbox.WheelJoint.SuspensionLimits { get; set; }
public float Sandbox.WheelJoint.TargetSteeringAngle { get; set; }
Returns:
float—No results match this filter.