Removed comments.
This commit is contained in:
parent
7bbb7f9c54
commit
def0b38a9a
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue