Set Sphere Component to Overlap All collision channels

This commit is contained in:
Louis Hobbs 2023-06-11 21:16:54 +01:00
parent 20955df027
commit db5a5e229d
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,8 @@ ANakatomiFieldSystemActor::ANakatomiFieldSystemActor()
RadialFalloff = CreateDefaultSubobject<URadialFalloff>(TEXT("Radial Falloff"));
RadialVector = CreateDefaultSubobject<URadialVector>(TEXT("Radial Vector"));
CullingField = CreateDefaultSubobject<UCullingField>(TEXT("Culling Field"));
SphereComponent->SetCollisionResponseToAllChannels(ECollisionResponse::ECR_Overlap);
}
void ANakatomiFieldSystemActor::BeginPlay()