Line trace now occurs on tick, and draws a normal direction of the trace hit.
This commit is contained in:
parent
4aadcee90c
commit
39d05a6435
Binary file not shown.
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
ABugPlacerPawn::ABugPlacerPawn()
|
ABugPlacerPawn::ABugPlacerPawn()
|
||||||
{
|
{
|
||||||
this->PrimaryActorTick.bCanEverTick = false;
|
this->PrimaryActorTick.bCanEverTick = true;
|
||||||
|
|
||||||
this->SphereComponent = CreateDefaultSubobject<USphereComponent>("SphereCollision");
|
this->SphereComponent = CreateDefaultSubobject<USphereComponent>("SphereCollision");
|
||||||
this->SphereComponent->SetCollisionProfileName(UCollisionProfile::Pawn_ProfileName);
|
this->SphereComponent->SetCollisionProfileName(UCollisionProfile::Pawn_ProfileName);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user