Set Sphere Component to Overlap All collision channels
This commit is contained in:
parent
20955df027
commit
db5a5e229d
|
@ -13,6 +13,8 @@ ANakatomiFieldSystemActor::ANakatomiFieldSystemActor()
|
||||||
RadialFalloff = CreateDefaultSubobject<URadialFalloff>(TEXT("Radial Falloff"));
|
RadialFalloff = CreateDefaultSubobject<URadialFalloff>(TEXT("Radial Falloff"));
|
||||||
RadialVector = CreateDefaultSubobject<URadialVector>(TEXT("Radial Vector"));
|
RadialVector = CreateDefaultSubobject<URadialVector>(TEXT("Radial Vector"));
|
||||||
CullingField = CreateDefaultSubobject<UCullingField>(TEXT("Culling Field"));
|
CullingField = CreateDefaultSubobject<UCullingField>(TEXT("Culling Field"));
|
||||||
|
|
||||||
|
SphereComponent->SetCollisionResponseToAllChannels(ECollisionResponse::ECR_Overlap);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ANakatomiFieldSystemActor::BeginPlay()
|
void ANakatomiFieldSystemActor::BeginPlay()
|
||||||
|
|
Loading…
Reference in New Issue