25 lines
830 B
Ucode
25 lines
830 B
Ucode
|
//=============================================================================
|
||
|
// GameCameraBlockingVolume:
|
||
|
// used to block the camera only (all other types of collision are ignored)
|
||
|
// Copyright 1998-2013 Epic Games, Inc. All Rights Reserved.
|
||
|
//=============================================================================
|
||
|
class GameCameraBlockingVolume extends BlockingVolume
|
||
|
hidecategories(Collision)
|
||
|
native
|
||
|
placeable;
|
||
|
|
||
|
cpptext
|
||
|
{
|
||
|
// overidden to ignore blocking by anything except a camera actor
|
||
|
virtual UBOOL IgnoreBlockingBy( const AActor *Other) const;
|
||
|
virtual UBOOL ShouldTrace(UPrimitiveComponent* Primitive,AActor *SourceActor, DWORD TraceFlags);
|
||
|
#if WITH_EDITOR
|
||
|
virtual void SetCollisionForPathBuilding(UBOOL bNowPathBuilding);
|
||
|
#endif
|
||
|
};
|
||
|
|
||
|
defaultproperties
|
||
|
{
|
||
|
bWorldGeometry=false
|
||
|
}
|