The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:SVehicleWheel (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UE2Runtime Object >> SVehicleWheel
Package: 
Engine
This class in other games:
U2, UT2004, UDK, UT3

null

Properties[edit]

Property group 'SVehicleWheel'[edit]

Adhesion[edit]

Type: float


bHandbrakeWheel[edit]

Type: bool


BoneName[edit]

Type: name


BoneOffset[edit]

Type: Object.Vector

Offset from wheel bone to line check point (middle of tyre). NB: Not affected by scale.

bPoweredWheel[edit]

Type: bool


bTrackWheel[edit]

Type: bool

If this is a track segment instead of a normal wheel.

ChassisTorque[edit]

Type: float

Torque applied back to the chassis (equal-and-opposite) from this wheel.

DriveForce[edit]

Type: float

resultant linear driving force at wheel center

HandbrakeFrictionFactor[edit]

Type: float


Default value: 1.0

HandbrakeSlipFactor[edit]

Type: float


Default value: 1.0

LatFriction[edit]

Type: float

maximum linear longitudinal (roll) friction force

LatSlip[edit]

Type: float


LatSlipFunc[edit]

Type: Object.InterpCurve


LongFriction[edit]

Type: float

maximum linear longitudinal (roll) friction force

LongFrictionFunc[edit]

Type: Object.InterpCurve

Function of SlipVel (ignored if bTrackWheel)

LongSlip[edit]

Type: float


PenScale[edit]

Type: float


Default value: 1.0

Restitution[edit]

Type: float


Softness[edit]

Type: float


Default value: 0.05

Steer[edit]

Type: float

degrees

SteerType[edit]

Type: ESteerType

How steering affects this wheel.

SupportBoneAxis[edit]

Type: Object.EAxis


SupportBoneName[edit]

Type: name

Name of strut etc. that will be rotated around local X as wheel goes up and down.

SuspensionOffset[edit]

Type: float


SuspensionTravel[edit]

Type: float


Default value: 50.0

TrackVel[edit]

Type: float


WheelInertia[edit]

Type: float


Default value: 1.0

WheelRadius[edit]

Type: float

Length of line check. Usually 2x wheel radius.

Default value: 35.0

Internal variables[edit]

bWheelOnGround[edit]

Type: bool


CurrentRotation[edit]

Type: float


KContact[edit]

Type: int

Modifiers: transient, const


SlipAngle[edit]

Type: float

Angle between wheel facing direction and wheel travelling direction. In degrees.

SlipVel[edit]

Type: float

Difference in linear velocity between ground and wheel at contact.

SpinVel[edit]

Type: float

Radians per sec

SupportPivotDistance[edit]

Type: float


SuspensionPosition[edit]

Type: float

Output vertical position of wheel

TireLoad[edit]

Type: float

Load on tire

WheelAxle[edit]

Type: Object.Vector

Wheel axle in world ref frame. Unit length.

WheelDir[edit]

Type: Object.Vector

Wheel 'forward' in world ref frame. Unit length.

WheelPosition[edit]

Type: Object.Vector

Wheel center in actor ref frame. Calculated using BoneOffset above.

Enums[edit]

ESteerType[edit]

ST_Fixed 
ST_Steered 
ST_Inverted