Cody WIP before cleanup
This commit is contained in:
@@ -33,13 +33,14 @@ void AProjectileBase::BeginPlay()
|
||||
|
||||
if (collision)
|
||||
collision->OnComponentHit.AddDynamic(this, &AProjectileBase::OnHit);
|
||||
|
||||
}
|
||||
|
||||
// Called every frame
|
||||
void AProjectileBase::Tick(float DeltaTime)
|
||||
{
|
||||
Super::Tick(DeltaTime);
|
||||
FVector Location = GetActorLocation();
|
||||
GEngine->AddOnScreenDebugMessage(3,10.f,FColor::Red,FString::Printf(TEXT("Projectile Location %f,%f,%f"), Location.X, Location.Y, Location.Z));
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user