The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

Difference between revisions of "UE3:WaterVolume (UDK)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Talk)
 
m (1 revision: class descriptions for UDK January update (part 9))
 
(One intermediate revision by one other user not shown)
Line 64: Line 64:
 
! Property
 
! Property
 
! Value
 
! Value
 +
|-
 +
| {{tl|bDisableAllRigidBody||PrimitiveComponent properties}}
 +
| False
 
|-
 
|-
 
| {{tl|RBChannel||PrimitiveComponent properties}}
 
| {{tl|RBChannel||PrimitiveComponent properties}}

Latest revision as of 06:04, 17 January 2010

UDK Object >> Actor >> Brush >> Volume >> PhysicsVolume >> WaterVolume
Package: 
Engine
Direct subclasses:
UTLavaVolume, UTSlimeVolume, UTWaterVolume
This class in other games:
U2XMP, UE2Runtime, U2, UT2003, UT2004, UT3

Games should create placeable subclasses of WaterVolume for use in game levels.

Properties[edit]

Property group 'WaterVolume'[edit]

EntryActor[edit]

Type: class<Actor>

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

EntrySound[edit]

Type: SoundCue

only if waterzone

ExitActor[edit]

Type: class<Actor>

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

ExitSound[edit]

Type: SoundCue

only if waterzone

PawnEntryActor[edit]

Type: class<Actor>

when pawn center enters volume

Default values[edit]

Property Value
bWaterVolume True
CollisionType COLLIDE_CustomDefault
FluidFriction 2.4
LocationName "under water"

Subobjects[edit]

BrushComponent0[edit]

Class: Engine.BrushComponent

Inherits from: PhysicsVolume.BrushComponent0

Property Value
bDisableAllRigidBody False
RBChannel RBCC_Water
ReplacementPrimitive None

Functions[edit]

Events[edit]

Touch[edit]

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

Overrides: PhysicsVolume.Touch


untouch[edit]

event untouch (Actor Other)

Overrides: Actor.UnTouch


Other instance functions[edit]

PlayEntrySplash[edit]

function PlayEntrySplash (Actor Other)


PlayExitSplash[edit]

function PlayExitSplash (Actor Other)