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.

objectJointWheelJoint
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.WheelJoint : Sandbox.Joint

Constructors1

Showing 1 constructors

Properties19

Showing 19 properties

public bool Sandbox.WheelJoint.EnableSpinMotor { get; set; }PUBLICGETSET

Returns:bool

public bool Sandbox.WheelJoint.EnableSteering { get; set; }PUBLICGETSET

Returns:bool

public bool Sandbox.WheelJoint.EnableSteeringLimit { get; set; }PUBLICGETSET

Returns:bool

public bool Sandbox.WheelJoint.EnableSuspension { get; set; }PUBLICGETSET

Returns:bool

public bool Sandbox.WheelJoint.EnableSuspensionLimit { get; set; }PUBLICGETSET

Returns:bool

public float Sandbox.WheelJoint.MaxSpinTorque { get; set; }PUBLICGETSET

Returns:float

public float Sandbox.WheelJoint.MaxSteeringTorque { get; set; }PUBLICGETSET

Returns:float

public float Sandbox.WheelJoint.SpinMotorSpeed { get; set; }PUBLICGETSET

Returns:float

public float Sandbox.WheelJoint.SpinSpeed { get; set; }PUBLICGETSET

Returns:float

public float Sandbox.WheelJoint.SpinTorque { get; set; }PUBLICGETSET

Returns:float

public float Sandbox.WheelJoint.SteeringAngle { get; set; }PUBLICGETSET

Returns:float

public float Sandbox.WheelJoint.SteeringDampingRatio { get; set; }PUBLICGETSET

Returns:float

public float Sandbox.WheelJoint.SteeringHertz { get; set; }PUBLICGETSET

Returns:float

public float Sandbox.WheelJoint.SteeringTorque { get; set; }PUBLICGETSET

Returns:float

public float Sandbox.WheelJoint.SuspensionDampingRatio { get; set; }PUBLICGETSET

Returns:float

public float Sandbox.WheelJoint.SuspensionHertz { get; set; }PUBLICGETSET

Returns:float

public float Sandbox.WheelJoint.TargetSteeringAngle { get; set; }PUBLICGETSET

Returns:float

On this page