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

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

Property group 'Karma'

KBuoyancy

Type: float

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

Default value: 1.0

KExtraAngularDamping

Type: float


KExtraLinearDamping

Type: float

Extra damping applied to Karma actors in this volume.

Property group 'PhysicsVolume'

bBounceVelocity

Type: bool

this velocity zone should bounce actors that land in it

bDestructive

Type: bool

Destroys most actors which enter it.

bMoveProjectiles

Type: bool

this velocity zone should impart velocity to projectiles and effects

bNeutralZone

Type: bool

Players can't take damage in this zone.

bNoInventory

Type: bool


bPainCausing

Type: bool

Zone causes pain.

DamagePerSec

Type: float


DamageType

Type: class<DamageType>


EntryActor

Type: class<Actor>

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

EntrySound

Type: Sound

only if waterzone

ExitActor

Type: class<Actor>

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

ExitSound

Type: Sound

only if waterzone

FluidFriction

Type: float


Default value: 0.3

Gravity

Type: Object.Vector


Default value:

Member Value
Z -1500.0

GroundFriction

Type: float


Default value: 8.0

Priority

Type: int

determines which PhysicsVolume takes precedence if they overlap

TerminalVelocity

Type: float


Default value: 2500.0

ViewFlash

Type: Object.Vector


ViewFog

Type: Object.Vector


ZoneVelocity

Type: Object.Vector


Property group 'VolumeFog'

bDistanceFog

Type: bool

There is distance fog in this physicsvolume.

DistanceFogColor

Type: Object.Color


DistanceFogEnd

Type: float


DistanceFogStart

Type: float


Internal variables

bWaterVolume

Type: bool


NextPhysicsVolume

Type: PhysicsVolume


PainTimer

Type: Info


Default values

Property Value
bAlwaysRelevant True
bOnlyDirtyReplication True
NetUpdateFrequency 5.0

Functions

Events

ActorEnteredVolume

event ActorEnteredVolume (Actor Other)


ActorLeavingVolume

event ActorLeavingVolume (Actor Other)


PawnEnteredVolume

event PawnEnteredVolume (Pawn Other)


PawnLeavingVolume

event PawnLeavingVolume (Pawn Other)


PhysicsChangedFor

event PhysicsChangedFor (Actor Other)


touch

event touch (Actor Other)

Overrides: Actor.Touch


Trigger

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Actor.Trigger


untouch

event untouch (Actor Other)

Overrides: Actor.UnTouch


Other instance functions

CausePainTo

function CausePainTo (Actor Other)


PlayEntrySplash

function PlayEntrySplash (Actor Other)


PlayExitSplash

function PlayExitSplash (Actor Other)


TimerPop

function TimerPop (VolumeTimer T)