I'm a doctor, not a mechanic

UE2:PhysicsVolume (UE2Runtime)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UE2Runtime Object >> Actor >> Brush >> Volume >> PhysicsVolume
Package: 
Engine
Direct subclasses:
DefaultPhysicsVolume, LadderVolume, LavaVolume, PressureVolume, VacuumVolume, SlimeVolume, WaterVolume
This class in other games:
U2, UT2003, U2XMP, UT2004, UT3, UDK

PhysicsVolume: a bounding volume which affects actor physics Each Actor is affected at any time by one PhysicsVolume This is a built-in Unreal class and it shouldn't be modified.

Properties[edit]

Property group 'Karma'[edit]

KBuoyancy[edit]

Type: float

How buoyant Karma things are in this volume (if bWaterVolume true). Multiplied by Actors KarmaParams->KBuoyancy.

Default value: 1.0

KExtraAngularDamping[edit]

Type: float


KExtraLinearDamping[edit]

Type: float

Extra damping applied to Karma actors in this volume.

Property group 'PhysicsVolume'[edit]

bBounceVelocity[edit]

Type: bool

this velocity zone should bounce actors that land in it

bDestructive[edit]

Type: bool

Destroys most actors which enter it.

bMoveProjectiles[edit]

Type: bool

this velocity zone should impart velocity to projectiles and effects

bNeutralZone[edit]

Type: bool

Players can't take damage in this zone.

bNoInventory[edit]

Type: bool


bPainCausing[edit]

Type: bool

Zone causes pain.

DamagePerSec[edit]

Type: float


DamageType[edit]

Type: class<DamageType>


EntryActor[edit]

Type: class<Actor>

e.g. a splash (only if water zone)

EntrySound[edit]

Type: Sound

only if waterzone

ExitActor[edit]

Type: class<Actor>

e.g. a splash (only if water zone)

ExitSound[edit]

Type: Sound

only if waterzone

FluidFriction[edit]

Type: float


Default value: 0.3

Gravity[edit]

Type: Object.Vector


Default value:

Member Value
Z -1500.0

GroundFriction[edit]

Type: float


Default value: 8.0

Priority[edit]

Type: int

determines which PhysicsVolume takes precedence if they overlap

TerminalVelocity[edit]

Type: float


Default value: 2500.0

ViewFlash[edit]

Type: Object.Vector


ViewFog[edit]

Type: Object.Vector


ZoneVelocity[edit]

Type: Object.Vector


Property group 'VolumeFog'[edit]

bDistanceFog[edit]

Type: bool

There is distance fog in this physicsvolume.

DistanceFogColor[edit]

Type: Object.Color


DistanceFogEnd[edit]

Type: float


DistanceFogStart[edit]

Type: float


Internal variables[edit]

bWaterVolume[edit]

Type: bool


NextPhysicsVolume[edit]

Type: PhysicsVolume


PainTimer[edit]

Type: Info


Default values[edit]

Property Value
bAlwaysRelevant True
bOnlyDirtyReplication True
NetUpdateFrequency 5.0

Functions[edit]

Events[edit]

ActorEnteredVolume[edit]

event ActorEnteredVolume (Actor Other)


ActorLeavingVolume[edit]

event ActorLeavingVolume (Actor Other)


PawnEnteredVolume[edit]

event PawnEnteredVolume (Pawn Other)


PawnLeavingVolume[edit]

event PawnLeavingVolume (Pawn Other)


PhysicsChangedFor[edit]

event PhysicsChangedFor (Actor Other)


touch[edit]

event touch (Actor Other)

Overrides: Actor.Touch


Trigger[edit]

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger


untouch[edit]

event untouch (Actor Other)

Overrides: Actor.UnTouch


Other instance functions[edit]

CausePainTo[edit]

function CausePainTo (Actor Other)


PlayEntrySplash[edit]

function PlayEntrySplash (Actor Other)


PlayExitSplash[edit]

function PlayExitSplash (Actor Other)


TimerPop[edit]

function TimerPop (VolumeTimer T)