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

UE3:PhysicsVolume (UT3)

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

PhysicsVolume: a bounding volume which affects actor physics Each Actor is affected at any time by one PhysicsVolume Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

Properties[edit]

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.

bPhysicsOnContact[edit]

Type: bool

By default, the origin of an Actor must be inside a PhysicsVolume for it to affect it. If this flag is true though, if this Actor touches the volume at all, it will affect it.

bVelocityAffectsWalking[edit]

Type: bool


Default value: True

DamagePerSec[edit]

Type: float


DamageType[edit]

Type: class<DamageType>


Default value: Class'Engine.DamageType'

FluidFriction[edit]

Type: float


Default value: 0.3

GroundFriction[edit]

Type: float


Default value: 8.0

MaxDampingForce[edit]

Type: float

Applies a cap on the maximum damping force that is applied to objects.

Default value: 1000000.0

Priority[edit]

Type: int

determines which PhysicsVolume takes precedence if they overlap

RigidBodyDamping[edit]

Type: float

This controls the force that will be applied to PHYS_RigidBody objects in this volume to get them to match the ZoneVelocity.

TerminalVelocity[edit]

Type: float


Default value: 3500.0

ZoneVelocity[edit]

Type: Object.Vector

Modifiers: interp


Internal variables[edit]

BACKUP_bPainCausing[edit]

Type: bool


bWaterVolume[edit]

Type: bool


DamageInstigator[edit]

Type: Controller

Controller that gets credit for any damage caused by this volume

NextPhysicsVolume[edit]

Type: PhysicsVolume


PainTimer[edit]

Type: Info


Default values[edit]

Property Value
bAlwaysRelevant True
bOnlyDirtyReplication True
CollisionType COLLIDE_TouchAll
NetUpdateFrequency 0.1

Subobjects[edit]

BrushComponent0[edit]

Class: Engine.BrushComponent

Inherits from: Volume.BrushComponent0

Property Value
BlockZeroExtent True

Functions[edit]

Native functions[edit]

GetGravityZ[edit]

native function float GetGravityZ ()

Overrides: Actor.GetGravityZ

Get gravity currently affecting this actor

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)


PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: Volume.PostBeginPlay


Reset[edit]

event Reset ()

Overrides: Actor.Reset


Touch[edit]

simulated event Touch (Actor Other, PrimitiveComponent OtherComp, Object.Vector HitLocation, Object.Vector HitNormal)

Overrides: Actor.Touch


Other instance functions[edit]

CausePainTo[edit]

function CausePainTo (Actor Other)


ModifyPlayer[edit]

function ModifyPlayer (Pawn PlayerPawn)

called from GameInfo::SetPlayerDefaults() on the Pawn's PhysicsVolume after the its default movement properties have been restored allows the volume to reapply any movement modifiers on the Pawn

NotifyPawnBecameViewTarget[edit]

function NotifyPawnBecameViewTarget (Pawn P, PlayerController PC)

notification when a Pawn inside this volume becomes the ViewTarget for a PlayerController

OnSetDamageInstigator[edit]

function OnSetDamageInstigator (SeqAct_SetDamageInstigator Action)

Kismet hook to set DamageInstigator

OnToggle[edit]

simulated function OnToggle (SeqAct_Toggle inAction)

Overrides: Volume.OnToggle


TimerPop[edit]

function TimerPop (VolumeTimer T)