Skip to content

Commit be19c54

Browse files
committed
fix: reset vCamera rotation in garage/meetspot
1 parent 94c82ca commit be19c54

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/NightRunners/Utils/RCCUtils.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ private static void TogglePersonController(GameObject container, bool enable)
6161
if (vCamera)
6262
{
6363
vCamera.transform.localPosition = enable ? new Vector3(0, 0.85f, 0) : Vector3.zero; //direct camera GO parent
64+
vCamera.transform.localRotation = Quaternion.identity;
6465
}
6566
}
6667
else

0 commit comments

Comments
 (0)