fix the hand right hand offset

This commit is contained in:
Mamadou Babaei
2023-04-28 01:20:51 +02:00
parent 5ce1af1b4f
commit 1a4a7a1048
@@ -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);
});
}