UE3:PhysicsVolume (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 08:40, 23 May 2008 by Unknown user (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
UT3 Object >> Actor >> Brush >> Volume >> PhysicsVolume
Package:
Engine
Direct subclasses:
LadderVolume, GravityVolume, DefaultPhysicsVolume, DynamicPhysicsVolume, ForcedDirVolume, UTKillZVolume, UTScriptedBotVolume, WaterVolume, UTXRayVolume
This class in other games:

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

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.

bPhysicsOnContact

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

Type: bool


Default value: True

DamagePerSec

Type: float


DamageType

Type: class<DamageType>


Default value: Class'Engine.DamageType'

FluidFriction

Type: float


Default value: 0.3

GroundFriction

Type: float


Default value: 8.0

MaxDampingForce

Type: float

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

Default value: 1000000.0

Priority

Type: int

determines which PhysicsVolume takes precedence if they overlap

RigidBodyDamping

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

Type: float


Default value: 3500.0

ZoneVelocity

Type: Object.Vector

Modifiers: interp


Internal variables

BACKUP_bPainCausing

Type: bool


bWaterVolume

Type: bool


DamageInstigator

Type: Controller

Controller that gets credit for any damage caused by this volume

NextPhysicsVolume

Type: PhysicsVolume


PainTimer

Type: Info


Default values

Subobjects

BrushComponent0

Class: Engine.BrushComponent

Inherits from: Volume.BrushComponent0

Property Value
BlockZeroExtent True

Functions

Native functions

GetGravityZ

native function float GetGravityZ ()

Overrides: Actor.GetGravityZ

Get gravity currently affecting this actor

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


Reset

event Reset ()

Overrides: Actor.Reset


Touch

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

Overrides: Actor.Touch


Other instance functions

CausePainTo

function CausePainTo (Actor Other)


ModifyPlayer

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

function NotifyPawnBecameViewTarget (Pawn P, PlayerController PC)

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

OnSetDamageInstigator

function OnSetDamageInstigator (SeqAct_SetDamageInstigator Action)

Kismet hook to set DamageInstigator

OnToggle

simulated function OnToggle (SeqAct_Toggle inAction)

Overrides: Volume.OnToggle


TimerPop

function TimerPop (VolumeTimer T)