26 Super::Tick(DeltaTime);
28 if((
int)DeltaTime % 2000 == 0)
31 AActor* Car = UGameplayStatics::GetActorOfClass(GetWorld(),
CarClass);
35 FVector CarPos = Car->GetActorLocation();
39 uint64 TileIndex = LMManager->
GetTileID(GlobalCarPos);
43 UE_LOG(LogCarla, Log, TEXT(
"Current Tile Index %d ----> (%d, %d, %d) with position L[%f, %f, %f] G[%f, %f, %f] Terrain Type: %s"),
44 TileIndex, TileVector.X, TileVector.Y, TileVector.Z, CarPos.X, CarPos.Y, CarPos.Z, GlobalCarPos.X, GlobalCarPos.Y, GlobalCarPos.Z,