I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:SVehicleWheel (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UE2Runtime Object >> SVehicleWheel

Contents

Package: 
Engine
This class in other games:
U2, UDK, UT2004, UT3

null

[edit] Properties

[edit] Property group 'SVehicleWheel'

[edit] Adhesion

Type: float


[edit] bHandbrakeWheel

Type: bool


[edit] BoneName

Type: name


[edit] BoneOffset

Type: Object.Vector

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

[edit] bPoweredWheel

Type: bool


[edit] bTrackWheel

Type: bool

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

[edit] ChassisTorque

Type: float

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

[edit] DriveForce

Type: float

resultant linear driving force at wheel center

[edit] HandbrakeFrictionFactor

Type: float


Default value: 1.0

[edit] HandbrakeSlipFactor

Type: float


Default value: 1.0

[edit] LatFriction

Type: float

maximum linear longitudinal (roll) friction force

[edit] LatSlip

Type: float


[edit] LatSlipFunc

Type: Object.InterpCurve


[edit] LongFriction

Type: float

maximum linear longitudinal (roll) friction force

[edit] LongFrictionFunc

Type: Object.InterpCurve

Function of SlipVel (ignored if bTrackWheel)

[edit] LongSlip

Type: float


[edit] PenScale

Type: float


Default value: 1.0

[edit] Restitution

Type: float


[edit] Softness

Type: float


Default value: 0.05

[edit] Steer

Type: float

degrees

[edit] SteerType

Type: ESteerType

How steering affects this wheel.

[edit] SupportBoneAxis

Type: Object.EAxis


[edit] SupportBoneName

Type: name

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

[edit] SuspensionOffset

Type: float


[edit] SuspensionTravel

Type: float


Default value: 50.0

[edit] TrackVel

Type: float


[edit] WheelInertia

Type: float


Default value: 1.0

[edit] WheelRadius

Type: float

Length of line check. Usually 2x wheel radius.

Default value: 35.0

[edit] Internal variables

[edit] bWheelOnGround

Type: bool


[edit] CurrentRotation

Type: float


[edit] KContact

Type: int

Modifiers: transient, const


[edit] SlipAngle

Type: float

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

[edit] SlipVel

Type: float

Difference in linear velocity between ground and wheel at contact.

[edit] SpinVel

Type: float

Radians per sec

[edit] SupportPivotDistance

Type: float


[edit] SuspensionPosition

Type: float

Output vertical position of wheel

[edit] TireLoad

Type: float

Load on tire

[edit] WheelAxle

Type: Object.Vector

Wheel axle in world ref frame. Unit length.

[edit] WheelDir

Type: Object.Vector

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

[edit] WheelPosition

Type: Object.Vector

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

[edit] Enums

[edit] ESteerType

ST_Fixed 
ST_Steered 
ST_Inverted