API ReferenceSandbox
public sealed class Sandbox.WheelJoint : Sandbox.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
Showing 1 constructors
public WheelJoint()
No results match this filter.
Properties
Showing 19 properties
public bool Sandbox.WheelJoint.EnableSpinMotor { get; set; }
public bool Sandbox.WheelJoint.EnableSteering { get; set; }
public bool Sandbox.WheelJoint.EnableSteeringLimit { get; set; }
public bool Sandbox.WheelJoint.EnableSuspension { get; set; }
public bool Sandbox.WheelJoint.EnableSuspensionLimit { get; set; }
public float Sandbox.WheelJoint.MaxSpinTorque { get; set; }
public float Sandbox.WheelJoint.MaxSteeringTorque { get; set; }
public float Sandbox.WheelJoint.SpinMotorSpeed { get; set; }
public float Sandbox.WheelJoint.SpinSpeed { get; set; }
public float Sandbox.WheelJoint.SpinTorque { get; set; }
public float Sandbox.WheelJoint.SteeringAngle { get; set; }
public float Sandbox.WheelJoint.SteeringDampingRatio { get; set; }
public float Sandbox.WheelJoint.SteeringHertz { get; set; }
public Vector2 Sandbox.WheelJoint.SteeringLimits { get; set; }
public float Sandbox.WheelJoint.SteeringTorque { get; set; }
public float Sandbox.WheelJoint.SuspensionDampingRatio { get; set; }
public float Sandbox.WheelJoint.SuspensionHertz { get; set; }
public Vector2 Sandbox.WheelJoint.SuspensionLimits { get; set; }
public float Sandbox.WheelJoint.TargetSteeringAngle { get; set; }
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.WheelJoint |