Add Ground Zero weather exposure zones
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
// Copyright Pacificao. All Rights Reserved.
|
||||
|
||||
#include "AgrarianWeatherExposureZone.h"
|
||||
#include "Components/BoxComponent.h"
|
||||
|
||||
AAgrarianWeatherExposureZone::AAgrarianWeatherExposureZone()
|
||||
{
|
||||
bReplicates = true;
|
||||
|
||||
ExposureVolume = CreateDefaultSubobject<UBoxComponent>(TEXT("ExposureVolume"));
|
||||
RootComponent = ExposureVolume;
|
||||
ExposureVolume->SetBoxExtent(FVector(500.0f, 500.0f, 250.0f));
|
||||
ExposureVolume->SetCollisionProfileName(TEXT("OverlapAllDynamic"));
|
||||
}
|
||||
Reference in New Issue
Block a user