Removed comments.

This commit is contained in:
Axel 2020-09-17 16:12:49 +02:00 committed by bernat
parent 7bbb7f9c54
commit def0b38a9a
1 changed files with 0 additions and 5 deletions

View File

@ -84,13 +84,8 @@ void AOpenDriveGenerator::GenerateRoadMesh()
{
continue;
}
// AActor *TempActor = GetWorld()->SpawnActor<AActor>();
// UProceduralMeshComponent *TempPMC = NewObject<UProceduralMeshComponent>(TempActor);
AProceduralMeshActor* TempActor = GetWorld()->SpawnActor<AProceduralMeshActor>();
UProceduralMeshComponent *TempPMC = TempActor->MeshComponent;
// TempPMC->RegisterComponent();
// TempPMC->AttachToComponent(
// TempActor->GetRootComponent(), FAttachmentTransformRules::KeepRelativeTransform);
TempPMC->bUseAsyncCooking = true;
TempPMC->bUseComplexAsSimpleCollision = true;
TempPMC->SetCollisionEnabled(ECollisionEnabled::QueryAndPhysics);