Automatic spawn points are placed now at 0.5 over the road (instead of 3m)

This commit is contained in:
bernatx 2022-09-14 13:45:43 +02:00 committed by bernat
parent dd20b23551
commit 00882c6a22
1 changed files with 1 additions and 1 deletions

View File

@ -440,7 +440,7 @@ void ACarlaGameModeBase::GenerateSpawnPoints()
{
carla::geom::Transform CarlaTransform = Map->ComputeTransform(Pair.first);
FTransform Transform(CarlaTransform);
Transform.AddToTranslation(FVector(0.f, 0.f, 300.0f));
Transform.AddToTranslation(FVector(0.f, 0.f, 50.0f));
SpawnPointsTransforms.Add(Transform);
}
}