This repository has been archived on 2026-05-24. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
AgrarianGameArchive/Source/AgrarianGame/AgrarianWeatherExposureZone.cpp
T

16 lines
511 B
C++

// Copyright Pacificao. All Rights Reserved.
#include "AgrarianWeatherExposureZone.h"
#include "Components/BoxComponent.h"
AAgrarianWeatherExposureZone::AAgrarianWeatherExposureZone()
{
bReplicates = true;
SetNetCullDistanceSquared(FMath::Square(6500.0f));
ExposureVolume = CreateDefaultSubobject<UBoxComponent>(TEXT("ExposureVolume"));
RootComponent = ExposureVolume;
ExposureVolume->SetBoxExtent(FVector(500.0f, 500.0f, 250.0f));
ExposureVolume->SetCollisionProfileName(TEXT("OverlapAllDynamic"));
}