diff --git a/Source/RWTHVRToolkit/Private/Pawn/VirtualRealityPawn.cpp b/Source/RWTHVRToolkit/Private/Pawn/VirtualRealityPawn.cpp index 786ffc3534f2b73d54b77d406a4e660eb8edae1f..432489a807a8ca2912bfdbcf416ef0359a0e2c31 100644 --- a/Source/RWTHVRToolkit/Private/Pawn/VirtualRealityPawn.cpp +++ b/Source/RWTHVRToolkit/Private/Pawn/VirtualRealityPawn.cpp @@ -42,7 +42,7 @@ void AVirtualRealityPawn::Tick(float DeltaSeconds) { Super::Tick(DeltaSeconds); - if (UVirtualRealityUtilities::IsDesktopMode()) + if (UVirtualRealityUtilities::IsDesktopMode() && IsLocallyControlled()) { SetCameraOffset(); UpdateRightHandForDesktopInteraction(); @@ -136,7 +136,6 @@ void AVirtualRealityPawn::EvaluateLivelink() const return; } - // Get the LiveLink interface and evaluate the current existing frame data for the given Subject and Role. ILiveLinkClient& LiveLinkClient = IModularFeatures::Get().GetModularFeature<ILiveLinkClient>( ILiveLinkClient::ModularFeatureName);