We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 326ebfc commit 69d1fafCopy full SHA for 69d1faf
TABGVR/Patches/PlayerPatch.cs
@@ -31,15 +31,4 @@ public static void Start(global::Player __instance)
31
32
_playerManager.playerRoot.AddComponent<VRControls>();
33
}
34
-
35
- [HarmonyPatch(nameof(global::Player.Update))]
36
- [HarmonyPostfix]
37
- public static void Update(global::Player __instance)
38
- {
39
- if (!_playerManager.playerIsClient) return;
40
41
- var rigidBody = _playerManager.player.Torso.GetComponent<Rigidbody>();
42
43
- rigidBody?.MoveRotation(Quaternion.Euler(0, _rotationTarget.eulerAngles.y, 0));
44
- }
45
0 commit comments