UE2:SCar (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
(Redirected from UE2:SCarState (U2))
U2 Object >> Actor >> Pawn >> Vehicle >> SVehicle >> SCar
Package:
Vehicles
Direct subclass:
XMPSVehicle

null

Properties

Property group 'SCar'

ChangeDownPoint

Type: float


ChangeUpPoint

Type: float


ChassisTorqueScale

Type: float


EngineBrakeFactor

Type: float


EngineBrakeRPMScale

Type: float


EngineBraking

Type: bool


EngineInertia

Type: float

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

EngineRPMSoundRange

Type: float


FTScale

Type: float


GearRatios

Type: float

Array size: 5

0 is reverse, 1-4 are forward

HandbrakeThresh

Type: float


IdleRPM

Type: float


LSDFactor

Type: float


MaxBrakeTorque

Type: float


MaxSteerAngle

Type: float

degrees

MinBrakeFriction

Type: float


SprintForce

Type: float


SprintTime

Type: float


SteerBoneAxis

Type: Object.EAxis


SteerBoneMaxAngle

Type: float


SteerBoneName

Type: name


SteerSpeed

Type: float

degrees per second

StopThreshold

Type: float


TorqueCurve

Type: Object.InterpCurve

Engine output torque

TransRatio

Type: float

Other (constant) gearing

WheelAdhesion

Type: float


WheelHandbrakeFriction

Type: float


WheelHandbrakeSlip

Type: float


WheelInertia

Type: float


WheelLatFrictionScale

Type: float


WheelLatSlipFunc

Type: Object.InterpCurve


WheelLongFrictionFunc

Type: Object.InterpCurve


WheelLongFrictionScale

Type: float


WheelLongSlip

Type: float


WheelPenScale

Type: float


WheelRestitution

Type: float


WheelSoftness

Type: float


WheelSuspensionOffset

Type: float


WheelSuspensionTravel

Type: float


Internal variables

ActualSteering

Type: float


bIsDriving

Type: bool


bIsInverted

Type: bool


bNewCarState

Type: bool


CarMPH

Type: float


CarState

Type: SCarState


ChassisState

Type: Actor.KRigidBodyState


EnergyAccumulator

Type: float


EngineRPM

Type: float


ForwardVel

Type: float


Gear

Type: int


NumPoweredWheels

Type: float


OfflineSound

Type: Sound


OutputBrake

Type: float


OutputGas

Type: float


OutputHandbrake

Type: bool


SprintSound

Type: Sound


Default value: Sound'U2Ambient2A.ShipEngines.Dropship_AttitudeEnd'

SprintTimeLeft

Type: float


TotalSpinVel

Type: float


Default values

Property Value
bUseCompressedPosition False

Structs

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!

Functions

Events

KApplyForce

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

Overrides: Actor.KApplyForce


KUpdateState

simulated event bool KUpdateState (out Actor.KRigidBodyState newState)

Overrides: Actor.KUpdateState


PostNetBeginPlay

simulated event PostNetBeginPlay ()

Overrides: SVehicle.PostNetBeginPlay


SVehicleUpdateParams

simulated event SVehicleUpdateParams ()

Overrides: SVehicle.SVehicleUpdateParams


Tick

simulated event Tick (float Delta)

Overrides: Vehicle.Tick


Other instance functions

DoSprint

simulated function DoSprint ()

Overrides: Vehicle.DoSprint


DrawHUD

function DrawHUD (Canvas Canvas)

Overrides: Pawn.DrawHUD


ServerSprint

function ServerSprint ()