fix the hand right hand offset
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user