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:
@@ -407,7 +407,6 @@ ASGPawn::ASGPawn(const FObjectInitializer& ObjectInitializer)
|
|||||||
HandRight->SetCollisionResponseToChannel(ECC_Vehicle, ECR_Block);
|
HandRight->SetCollisionResponseToChannel(ECC_Vehicle, ECR_Block);
|
||||||
HandRight->SetCollisionResponseToChannel(ECC_Destructible, ECR_Block);
|
HandRight->SetCollisionResponseToChannel(ECC_Destructible, ECR_Block);
|
||||||
HandRight->SetRight(true);
|
HandRight->SetRight(true);
|
||||||
HandRight->SetHiddenInGame(true);
|
|
||||||
HandRight->SetHiddenIfNoGloveDetected(true);
|
HandRight->SetHiddenIfNoGloveDetected(true);
|
||||||
HandRight->SetRelativeRotation(FRotator{0.0f, -90.0f, 0.0f},
|
HandRight->SetRelativeRotation(FRotator{0.0f, -90.0f, 0.0f},
|
||||||
false, nullptr, ETeleportType::None);
|
false, nullptr, ETeleportType::None);
|
||||||
|
|||||||
Reference in New Issue
Block a user