fix a bug where the right hand mesh is always hidden inside the game no matter whether the right glove is connected or not

This commit is contained in:
Mamadou Babaei
2024-03-12 20:32:37 +01:00
parent 71772c568f
commit d2dd65dc54
@@ -407,7 +407,6 @@ ASGPawn::ASGPawn(const FObjectInitializer& ObjectInitializer)
HandRight->SetCollisionResponseToChannel(ECC_Vehicle, ECR_Block);
HandRight->SetCollisionResponseToChannel(ECC_Destructible, ECR_Block);
HandRight->SetRight(true);
HandRight->SetHiddenInGame(true);
HandRight->SetHiddenIfNoGloveDetected(true);
HandRight->SetRelativeRotation(FRotator{0.0f, -90.0f, 0.0f},
false, nullptr, ETeleportType::None);