Line trace now occurs on tick, and draws a normal direction of the trace hit.

This commit is contained in:
Jamie Greunbaum
2023-03-16 02:41:25 -04:00
parent 4aadcee90c
commit 39d05a6435
2 changed files with 1 additions and 1 deletions
+1 -1
View File
@@ -10,7 +10,7 @@
ABugPlacerPawn::ABugPlacerPawn()
{
this->PrimaryActorTick.bCanEverTick = false;
this->PrimaryActorTick.bCanEverTick = true;
this->SphereComponent = CreateDefaultSubobject<USphereComponent>("SphereCollision");
this->SphereComponent->SetCollisionProfileName(UCollisionProfile::Pawn_ProfileName);