You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using Q/E to control camera rotation, Z/X for zoom
added momentum while stop controlling rotation/zoom, to have smooth animation (maybe?
the relating speed can be changed in ESC Setting: Gameplay/Camera keyboard control
[Setting("Gameplay/Camera","Zoom Speed","The speed when scrolling")]
15
+
[Setting("Gameplay/Camera","Mouse Scrolling Zoom Speed","The speed when scrolling")]
16
16
[SerializeField]privatestaticfloat_zoomSpeed=5;
17
17
[SerializeField]privatefloat_minZoom=1;
18
18
[SerializeField]privatefloat_maxZoom=400;
@@ -57,9 +57,15 @@ public static float Zoom
57
57
privatefloat_zoomRef;
58
58
privateVector3_posRef;
59
59
60
-
[Setting("Gameplay/Camera","Room Keyboard Speed","The speed when using WASD or arrow keys in room mode")]
61
-
privatestaticfloat_keyboardSpeed=5;
62
-
[Setting("Gameplay/Camera","World Keyboard Speed","The speed when using WASD or arrow keys in world mode")]
60
+
[Setting("Gameplay/Camera keyboard control","Room Keyboard Move Speed(WASD/ArrowKeys)","The speed when using WASD or arrow keys in room mode (for position)")]
61
+
privatestaticfloat_keyboardSpeedMove=5;
62
+
[Setting("Gameplay/Camera keyboard control","Room Keyboard Rotation Speed(Q/E)","The speed when using Q/E in room mode (for rotation)")]
63
+
privatestaticfloat_keyboardSpeedRotation=5;
64
+
[Setting("Gameplay/Camera keyboard control","Room Keyboard Rotation Speed(Z/X)","The speed when using Z/X in room mode (for zoom)")]
65
+
privatestaticfloat_keyboardSpeedZoom=5;
66
+
[Setting("Gameplay/Camera keyboard control","Room Keyboardspeed decay ratio","Speed decay ratio after you stop keyboard controlling rotation/zoom")]
67
+
privatestaticfloat_keyboardSpeedmomentum=0.95f;
68
+
[Setting("Gameplay/Camera keyboard control","World Keyboard Speed","The speed when using WASD or arrow keys in world mode")]
0 commit comments