I'm a doctor, not a mechanic

UE2:SCar (U2)

From Unreal Wiki, The Unreal Engine Documentation Site

(Redirected from UE2:SCarState (U2))
Jump to: navigation, search
U2 Object >> Actor >> Pawn >> Vehicle >> SVehicle >> SCar

Contents

Package: 
Vehicles
Direct subclass:
XMPSVehicle

null

[edit] Properties

[edit] Property group 'SCar'

[edit] ChangeDownPoint

Type: float


[edit] ChangeUpPoint

Type: float


[edit] ChassisTorqueScale

Type: float


[edit] EngineBrakeFactor

Type: float


[edit] EngineBrakeRPMScale

Type: float


[edit] EngineBraking

Type: bool


[edit] EngineInertia

Type: float

Pre-gear box engine inertia (racing flywheel etc.)

[edit] EngineRPMSoundRange

Type: float


[edit] FTScale

Type: float


[edit] GearRatios

Type: float

Array size: 5

0 is reverse, 1-4 are forward

[edit] HandbrakeThresh

Type: float


[edit] IdleRPM

Type: float


[edit] LSDFactor

Type: float


[edit] MaxBrakeTorque

Type: float


[edit] MaxSteerAngle

Type: float

degrees

[edit] MinBrakeFriction

Type: float


[edit] SprintForce

Type: float


[edit] SprintTime

Type: float


[edit] SteerBoneAxis

Type: Object.EAxis


[edit] SteerBoneMaxAngle

Type: float


[edit] SteerBoneName

Type: name


[edit] SteerSpeed

Type: float

degrees per second

[edit] StopThreshold

Type: float


[edit] TorqueCurve

Type: Object.InterpCurve

Engine output torque

[edit] TransRatio

Type: float

Other (constant) gearing

[edit] WheelAdhesion

Type: float


[edit] WheelHandbrakeFriction

Type: float


[edit] WheelHandbrakeSlip

Type: float


[edit] WheelInertia

Type: float


[edit] WheelLatFrictionScale

Type: float


[edit] WheelLatSlipFunc

Type: Object.InterpCurve


[edit] WheelLongFrictionFunc

Type: Object.InterpCurve


[edit] WheelLongFrictionScale

Type: float


[edit] WheelLongSlip

Type: float


[edit] WheelPenScale

Type: float


[edit] WheelRestitution

Type: float


[edit] WheelSoftness

Type: float


[edit] WheelSuspensionOffset

Type: float


[edit] WheelSuspensionTravel

Type: float


[edit] Internal variables

[edit] ActualSteering

Type: float


[edit] bIsDriving

Type: bool


[edit] bIsInverted

Type: bool


[edit] bNewCarState

Type: bool


[edit] CarMPH

Type: float


[edit] CarState

Type: SCarState


[edit] ChassisState

Type: Actor.KRigidBodyState


[edit] EnergyAccumulator

Type: float


[edit] EngineRPM

Type: float


[edit] ForwardVel

Type: float


[edit] Gear

Type: int


[edit] NumPoweredWheels

Type: float


[edit] OfflineSound

Type: Sound


[edit] OutputBrake

Type: float


[edit] OutputGas

Type: float


[edit] OutputHandbrake

Type: bool


[edit] SprintSound

Type: Sound


Default value: Sound'U2Ambient2A.ShipEngines.Dropship_AttitudeEnd'

[edit] SprintTimeLeft

Type: float


[edit] TotalSpinVel

Type: float


[edit] Default values

Property Value
bUseCompressedPosition False

[edit] Structs

[edit] SCarState

Modifiers: native

Actor.KRBVec ChassisPosition 
Object.Quat ChassisQuaternion 
Actor.KRBVec ChassisLinVel 
Actor.KRBVec ChassisAngVel 
float ServerHandbrake 
float ServerBrake 
float ServerGas 
int ServerGear 
float ServerSteering 
int bNewState 
bools inside structs == scary!

[edit] Functions

[edit] Events

[edit] KApplyForce

simulated event KApplyForce (out Object.Vector Force, out Object.Vector Torque)

Overrides: Actor.KApplyForce


[edit] KUpdateState

simulated event bool KUpdateState (out Actor.KRigidBodyState newState)

Overrides: Actor.KUpdateState


[edit] PostNetBeginPlay

simulated event PostNetBeginPlay ()

Overrides: SVehicle.PostNetBeginPlay


[edit] SVehicleUpdateParams

simulated event SVehicleUpdateParams ()

Overrides: SVehicle.SVehicleUpdateParams


[edit] Tick

simulated event Tick (float Delta)

Overrides: Vehicle.Tick


[edit] Other instance functions

[edit] DoSprint

simulated function DoSprint ()

Overrides: Vehicle.DoSprint


[edit] DrawHUD

function DrawHUD (Canvas Canvas)

Overrides: Pawn.DrawHUD


[edit] ServerSprint

function ServerSprint ()