From eb97bd744fc3260df8f340c5b842348694f2173f Mon Sep 17 00:00:00 2001 From: Dabinn Date: Mon, 24 Jun 2019 04:50:43 +0800 Subject: [PATCH] Invert VR controller grip rotate direction --- VRGIN/Controls/Tools/WarpTool.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VRGIN/Controls/Tools/WarpTool.cs b/VRGIN/Controls/Tools/WarpTool.cs index 2c97d4a..6c8e40c 100644 --- a/VRGIN/Controls/Tools/WarpTool.cs +++ b/VRGIN/Controls/Tools/WarpTool.cs @@ -333,7 +333,7 @@ private void HandleGrabbing() if (OtherController.Input.GetPress(SECONDARY_ROTATE_BUTTON)) { InitializeRotationIfNeeded(); - var angleDiff = Calculator.Angle(_PrevFromTo, newFromTo) * VR.Settings.RotationMultiplier; + var angleDiff = - Calculator.Angle(_PrevFromTo, newFromTo) * VR.Settings.RotationMultiplier; VR.Camera.SteamCam.origin.transform.RotateAround(VR.Camera.Head.position, Vector3.up, angleDiff);// Mathf.Max(1, Controller.velocity.sqrMagnitude) ); _ProspectedPlayArea.Rotation += angleDiff;