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

UE2:SVehicle (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Pawn >> Vehicle >> SVehicle
Package: 
Engine
Direct subclass:
ONSVehicle
This class in other games:
U2, UE2Runtime, UT3, UDK

SVehicle karma physics subclass of vehicle, including networking support

Properties[edit]

Property group 'SVehicle'[edit]

DestroyEffectClass[edit]

Type: class<Actor>


FlipTime[edit]

Type: float


Default value: 2.0

FlipTorque[edit]

Type: float


Default value: 300.0

VehicleMass[edit]

Type: float


Default value: 1.0

Wheels[edit]

Type: array<SVehicleWheel>

Modifiers: editinline, export

Wheel data

Internal variables[edit]

bVehicleOnGround[edit]

Type: bool

Modifiers: const


FlipAxis[edit]

Type: Object.Vector


FlipScale[edit]

Type: float


FlipTimeLeft[edit]

Type: float


Default values[edit]

Property Value
bBlockKarma True
bCollideWorld False
bDramaticLighting True
bEdShouldSnap True
bNetInitialRotation True
bSpecialCalcView True
Physics PHYS_Karma

Functions[edit]

Native functions[edit]

UpdateVehicle[edit]

native event UpdateVehicle (float DeltaTime)


GraphData[edit]

native final function GraphData (string DataName, float DataValue)


Events[edit]

Destroyed[edit]

simulated event Destroyed ()

Overrides: Vehicle.Destroyed


KApplyForce[edit]

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

Overrides: Actor.KApplyForce


PostNetBeginPlay[edit]

simulated event PostNetBeginPlay ()

Overrides: Pawn.PostNetBeginPlay


SVehicleUpdateParams[edit]

simulated event SVehicleUpdateParams ()


Tick[edit]

simulated event Tick (float deltaTime)

Overrides: Actor.Tick


VehicleStateReceived[edit]

event VehicleStateReceived ()


Other instance functions[edit]

Flip[edit]

function Flip (Object.Vector HitNormal, float ForceScale)

Overrides: Vehicle.Flip


JumpOffPawn[edit]

function JumpOffPawn ()

Overrides: Pawn.JumpOffPawn