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

UE2:PhysicsVolume (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 16:56, 24 August 2010 by 83.248.85.14 (Talk) (Property group 'VolumeFog')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT2004 Object >> Actor >> Brush >> Volume >> PhysicsVolume
Package: 
Engine
Direct subclasses:
WaterVolume, ConvoyPhysicsVolume, DefaultPhysicsVolume, IonCannonKillVolume, KarmaBoostVolume, LadderVolume, LavaVolume, PressureVolume, XFallingVolume
Known custom subclasses:
Wormbo/OnslaughtSpecials, Eliot/LevelConfigManager/Volumes, Crusha/UltimateMappingTools, Wormbo/OnslaughtSpecialsLite
This class in other games:
UE2Runtime, U2, UT2003, U2XMP, 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

bDamagesVehicles[edit]

Type: bool


Default value: True

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.

bNoDecals[edit]

Type: bool


bNoInventory[edit]

Type: bool


bPainCausing[edit]

Type: bool

Zone causes pain.

bWaterVolume[edit]

Type: bool


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
X 0.0
Y 0.0
Z -950.0

GroundFriction[edit]

Type: float


Default value: 8.0

PawnEntryActor[edit]

Type: class<Actor>

when pawn center enters volume

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


VolumeEffect[edit]

Type: I3DL2Listener

Modifiers: editinline


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

The distance of where the fog ends.

DistanceFogStart[edit]

Type: float

The distance of where the fog starts.

Internal variables[edit]

BACKUP_bPainCausing[edit]

Type: bool


BACKUP_Gravity[edit]

Type: Object.Vector


NextPhysicsVolume[edit]

Type: PhysicsVolume


PainTimer[edit]

Type: Info


Default values[edit]

Property Value
bAlwaysRelevant True
bOnlyDirtyReplication True
NetUpdateFrequency 0.1

Functions[edit]

Events[edit]

ActorEnteredVolume[edit]

event ActorEnteredVolume (Actor Other)


ActorLeavingVolume[edit]

event ActorLeavingVolume (Actor Other)


BaseChange[edit]

singular event BaseChange ()

Overrides: Actor.BaseChange


PawnEnteredVolume[edit]

simulated event PawnEnteredVolume (Pawn Other)


PawnLeavingVolume[edit]

event PawnLeavingVolume (Pawn Other)


PhysicsChangedFor[edit]

event PhysicsChangedFor (Actor Other)


PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: Volume.PostBeginPlay


PreBeginPlay[edit]

simulated event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


touch[edit]

simulated event touch (Actor Other)

Overrides: Actor.Touch


Trigger[edit]

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger


untouch[edit]

simulated event untouch (Actor Other)

Overrides: Actor.UnTouch


Other instance functions[edit]

CausePainTo[edit]

function CausePainTo (Actor Other)


PlayEntrySplash[edit]

simulated function PlayEntrySplash (Actor Other)


PlayerPawnDiedInVolume[edit]

function PlayerPawnDiedInVolume (Pawn Other)


PlayExitSplash[edit]

simulated function PlayExitSplash (Actor Other)


Reset[edit]

function Reset ()

Overrides: Actor.Reset


TimerPop[edit]

function TimerPop (VolumeTimer T)

Overrides: Actor.TimerPop