1
0
KF2-Dev-Scripts/Engine/Classes/DynamicPhysicsVolume.uc
2020-12-13 18:01:13 +03:00

41 lines
766 B
Ucode

/**
* Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
*/
/**
* This is a movable physics volume. It can be moved by matinee, being based on
* dynamic objects, etc.
*/
class DynamicPhysicsVolume extends PhysicsVolume
showcategories(Movement)
placeable;
/** Is the volume enabled by default? */
var() bool bEnabled;
/**
* Overriden to set the default collision state.
*/
simulated event PostBeginPlay()
{
Super.PostBeginPlay();
SetCollision(bEnabled, bBlockActors);
}
defaultproperties
{
Physics=PHYS_Interpolating
bStatic=false
bAlwaysRelevant=true
bReplicateMovement=true
bOnlyDirtyReplication=true
RemoteRole=ROLE_None
bColored=true
BrushColor=(R=100,G=255,B=255,A=255)
bEnabled=true
}