Skip to content

PhysicsVolume

Class in Engine · Engine.PhysicsVolume · native, placeable

Object › Actor › Brush › Volume › PhysicsVolume

Subclasses: DefaultPhysicsVolume, DynamicPhysicsVolume, GravityVolume, LadderVolume, WaterVolume

Using it from Lua
h7.find_all("PhysicsVolume")            -- live instances
h7.find_class("Engine.PhysicsVolume")   -- the class
h7.hook("Engine.PhysicsVolume.ActorEnteredVolume", fn)

Structs

CheckpointRecord

FieldType
bPainCausingbool
bActivebool

Properties

NameTypeNotes
BACKUP_bPainCausingbool
bAIShouldIgnorePainbool
bBounceVelocitybool
bCrowdAgentsPlayDeathAnimbool
bDestructivebool
bEntryPainbool
bMoveProjectilesbool
bNeutralZonebool
bNoInventorybool
bPainCausingbool
bPhysicsOnContactbool
bVelocityAffectsWalkingbool
bWaterVolumebool
DamageInstigatorController
DamagePerSecfloat
DamageTypeclass<DamageType>
FluidFrictionfloat
GroundFrictionfloat
MaxDampingForcefloat
NextPhysicsVolumePhysicsVolumetransient
PainIntervalfloat
PainTimerInfo
Priorityint
RigidBodyDampingfloat
TerminalVelocityfloat
ZoneVelocityvector

Functions

NameDeclaration
ActorEnteredVolumeevent ActorEnteredVolume(Actor Other)
ActorLeavingVolumeevent ActorLeavingVolume(Actor Other)
ApplyCheckpointRecordfunction ApplyCheckpointRecord(const out CheckpointRecord Record)
CausePainTofunction CausePainTo(Actor Other)
CollisionChangedsimulated event CollisionChanged()
CreateCheckpointRecordfunction CreateCheckpointRecord(out CheckpointRecord Record)
GetGravityZnative function float GetGravityZ()
GetZoneVelocityForActornative function vector GetZoneVelocityForActor(Actor TheActor)
ModifyPlayerfunction ModifyPlayer(Pawn PlayerPawn)
NotifyPawnBecameViewTargetfunction NotifyPawnBecameViewTarget(Pawn P, PlayerController PC)
OnSetDamageInstigatorfunction OnSetDamageInstigator(SeqAct_SetDamageInstigator Action)
OnTogglesimulated function OnToggle(SeqAct_Toggle inAction)
PawnEnteredVolumeevent PawnEnteredVolume(Pawn Other)
PawnLeavingVolumeevent PawnLeavingVolume(Pawn Other)
PhysicsChangedForevent PhysicsChangedFor(Actor Other)
PostBeginPlaysimulated event PostBeginPlay()
Resetfunction Reset()
ShouldSaveForCheckpointfunction bool ShouldSaveForCheckpoint()
TimerPopfunction TimerPop(VolumeTimer T)
Touchsimulated event Touch(Actor Other, PrimitiveComponent OtherComp, vector HitLocation, vector HitNormal)

Default values

MaxDampingForce=1000000.0
FluidFriction=+0.3
bVelocityAffectsWalking=true
TerminalVelocity=4000.0
bAlwaysRelevant=true
bOnlyDirtyReplication=true
GroundFriction=+00008.000000
NetUpdateFrequency=0.1
bSkipActorPropertyReplication=true
DamageType=class'Engine.DamageType'
bEntryPain=true
PainInterval=1.f
bForceAllowKismetModification=true

Inherited

FromMembers
Volume4 properties, 7 functions
Brush9 properties, 0 functions
Actor156 properties, 262 functions
Object13 properties, 308 functions