I'm a doctor, not a mechanic

UE2:PhysicsVolume (U2XMP)

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

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 '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.

bWaterVolume

Type: bool

NEW (mwp) allow bWaterVolume to be edited on the DefaultPhysicsVolume

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 -1250.0

GroundFriction

Type: float


Default value: 8.0

Priority

Type: int

determines which PhysicsVolume takes precedence if they overlap

TerminalVelocity

Type: float


Default value: 4096.0

UnderwaterSoundStr

Type: string

ambient sound to play when player is underwater

Default value: "U2AmbientA.Underwater_08"

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


Property group 'ZoneLight'

DetailDistanceFogEnd

Type: float

Array size: 5


DetailDistanceFogStart

Type: float

Array size: 5


Internal variables

NextPhysicsVolume

Type: PhysicsVolume


PainTimer

Type: Info


Default values

Property Value
bAlwaysRelevant True

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)


PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Volume.PostBeginPlay


Replication

event Replication ()

Overrides: Actor.Replication


touch

event touch (Actor Other)

Overrides: Actor.Touch


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)


Trigger

function Trigger (Actor Other, Pawn EventInstigator, optional name EventName)

Overrides: Actor.Trigger