fix the hand right hand offset

This commit is contained in:
Mamadou Babaei
2023-04-28 01:19:54 +02:00
parent 22ca963bd6
commit 7b57334ed0
@@ -136,12 +136,12 @@ void ASGPawn::BeginPlay()
WristTrackerRight->OnWristLocationChanged().AddWeakLambda(this, [&](const FVector& Location)-> void
{
HandRight->SetRelativeLocation(Location);
HandRight->SetWorldLocation(Location);
});
WristTrackerRight->OnWristRotationChanged().AddWeakLambda(this, [&](const FRotator& Rotation)-> void
{
HandRight->SetRelativeRotation(Rotation);
HandRight->SetWorldRotation(Rotation);
});
}