From b832c26549a8db9a60583a693c364e72221a6bd2 Mon Sep 17 00:00:00 2001 From: Nicolas Gnyra Date: Sun, 1 Dec 2024 20:30:45 -0500 Subject: [PATCH] Fix bad camera behaviour --- Source/CustomAvatar/Rendering/MainCamera.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/CustomAvatar/Rendering/MainCamera.cs b/Source/CustomAvatar/Rendering/MainCamera.cs index 77074a54..86d4466c 100644 --- a/Source/CustomAvatar/Rendering/MainCamera.cs +++ b/Source/CustomAvatar/Rendering/MainCamera.cs @@ -169,6 +169,7 @@ protected void OnPreCull() { _trackedPoseDriver.UseRelativeTransform = !beatSaberUtilities.hasFocus; _trackedPoseDriver.PerformUpdate(); + _camera.ResetWorldToCameraMatrix(); } UpdateCameraMask();