From 103e2fd40eb38f72d7dd0d16ce1e46a8add0a930 Mon Sep 17 00:00:00 2001 From: originalnicodr Date: Fri, 8 Mar 2024 20:59:57 -0300 Subject: [PATCH] Adjusted default camera far clip to 2000 and made the default tilt speed 10 times faster. --- src/UI/Panels/FreeCamPanel.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/UI/Panels/FreeCamPanel.cs b/src/UI/Panels/FreeCamPanel.cs index debcc27..74948b7 100644 --- a/src/UI/Panels/FreeCamPanel.cs +++ b/src/UI/Panels/FreeCamPanel.cs @@ -336,11 +336,11 @@ namespace UnityExplorer.UI.Panels UpdateClippingPlanes(); }); // Default value - farClipPlaneValue = 1000; + farClipPlaneValue = 2000; farClipPlaneSlider.m_FillImage.color = Color.clear; farClipPlaneSlider.minValue = 100; farClipPlaneSlider.maxValue = 2000; - farClipPlaneSlider.value = 1000; // doesn't take farClipPlaneValue for some reason?? + farClipPlaneSlider.value = 2000; // doesn't take farClipPlaneValue for some reason?? AddSpacer(5); @@ -722,10 +722,10 @@ namespace UnityExplorer.UI.Panels transform.position += transform.up * -1 * moveSpeed; if (IInputManager.GetKey(ConfigManager.Tilt_Left.Value)) - transform.Rotate(0, 0, moveSpeed, Space.Self); + transform.Rotate(0, 0, moveSpeed * 10, Space.Self); if (IInputManager.GetKey(ConfigManager.Tilt_Right.Value)) - transform.Rotate(0, 0, - moveSpeed, Space.Self); + transform.Rotate(0, 0, - moveSpeed * 10, Space.Self); if (IInputManager.GetKey(ConfigManager.Tilt_Reset.Value)){ // Extract the forward direction of the original quaternion