Add Ground Zero weather exposure zones

This commit is contained in:
2026-05-16 03:08:12 -07:00
parent b5d13598f8
commit 8b0b5fff92
10 changed files with 291 additions and 5 deletions
@@ -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"));
}