diff --git a/Source/RWTHVRQuickStart/Private/PointOfInterest.cpp b/Source/RWTHVRQuickStart/Private/PointOfInterest.cpp index 30b7635e76c6d4e982f747e5f1e3b8ec7922d690..d467d4b630188f52371d84cb5670cbc8937c0f37 100644 --- a/Source/RWTHVRQuickStart/Private/PointOfInterest.cpp +++ b/Source/RWTHVRQuickStart/Private/PointOfInterest.cpp @@ -22,7 +22,8 @@ APointOfInterest::APointOfInterest() { UE_LOGFMT(POILog, Verbose, "POILog: Could not find location marker Texture. The Asset might have moved."); } - Billboard->AttachToComponent(RootComponent, FAttachmentTransformRules::SnapToTargetIncludingScale); + Billboard->SetupAttachment(RootComponent); + Billboard->SetHiddenInGame(true); Billboard->SetWorldScale3D(FVector(0.1f, 0.1f, 0.1f)); }