Skip to content

Commit 79c9267

Browse files
committed
feat: reducing rotation speeds
1 parent 5e79358 commit 79c9267

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

Assets/Scripts/Pinpoint/Probes/Controllers/CartesianProbeController.cs

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
using BrainAtlas;
22
using System;
33
using System.Collections.Generic;
4-
using System.Reflection;
54
using UnityEngine;
65
using UnityEngine.EventSystems;
7-
using UnityEngine.InputSystem;
8-
using UnityEngine.Serialization;
96

107
public class CartesianProbeController : ProbeController
118
{
@@ -18,14 +15,14 @@ public class CartesianProbeController : ProbeController
1815
private const float MOVE_INCREMENT_HOLD_ULTRA = 10.000f;
1916
private const float MOVE_INCREMENT_HOLD_FAST = 1.000f;
2017
private const float MOVE_INCREMENT_HOLD_SLOW = 0.010f;
21-
private const float ROT_INCREMENT_TAP = 5f;
22-
private const float ROT_INCREMENT_TAP_ULTRA = 90f;
23-
private const float ROT_INCREMENT_TAP_FAST = 15f;
24-
private const float ROT_INCREMENT_TAP_SLOW = 1f;
25-
private const float ROT_INCREMENT_HOLD = 5f;
26-
private const float ROT_INCREMENT_HOLD_ULTRA = 90f;
27-
private const float ROT_INCREMENT_HOLD_FAST = 15;
28-
private const float ROT_INCREMENT_HOLD_SLOW = 1f;
18+
private const float ROT_INCREMENT_TAP = 1f;
19+
private const float ROT_INCREMENT_TAP_ULTRA = 15f;
20+
private const float ROT_INCREMENT_TAP_FAST = 5f;
21+
private const float ROT_INCREMENT_TAP_SLOW = 0.1f;
22+
private const float ROT_INCREMENT_HOLD = 1f;
23+
private const float ROT_INCREMENT_HOLD_ULTRA = 15f;
24+
private const float ROT_INCREMENT_HOLD_FAST = 5f;
25+
private const float ROT_INCREMENT_HOLD_SLOW = 0.1f;
2926

3027
// [deprecated]
3128
//private readonly Vector4 _forwardDir = new(0f, 0f, -1f, 0f);

0 commit comments

Comments
 (0)