Skip to content

Commit

Permalink
Fix bad camera behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoco007 committed Dec 2, 2024
1 parent ffb4794 commit b832c26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/CustomAvatar/Rendering/MainCamera.cs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ protected void OnPreCull()
{
_trackedPoseDriver.UseRelativeTransform = !beatSaberUtilities.hasFocus;
_trackedPoseDriver.PerformUpdate();
_camera.ResetWorldToCameraMatrix();
}

UpdateCameraMask();
Expand Down

0 comments on commit b832c26

Please sign in to comment.