From 31fc08bd5b1ea99c7ea1d0f732ea61aec771909e Mon Sep 17 00:00:00 2001 From: Gregory Campbell Date: Wed, 11 Dec 2019 21:33:57 -0500 Subject: [PATCH] Slight tweak to improve upon the last merge --- Assets/Scripts/PlayerController.cs | 2 +- ProjectSettings/InputManager.asset | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Assets/Scripts/PlayerController.cs b/Assets/Scripts/PlayerController.cs index b46d62b..fb450db 100644 --- a/Assets/Scripts/PlayerController.cs +++ b/Assets/Scripts/PlayerController.cs @@ -42,7 +42,7 @@ public class PlayerController : MonoBehaviour float yStore = moveDirection.y; //Need to switch to 'raw' when using keyboard - moveDirection = (transform.forward * Input.GetAxisRaw("Vertical")) + (transform.right * Input.GetAxisRaw("Horizontal")); + moveDirection = (transform.forward * Input.GetAxis("Vertical")) + (transform.right * Input.GetAxis("Horizontal")); if (jump <= 1) { diff --git a/ProjectSettings/InputManager.asset b/ProjectSettings/InputManager.asset index e844dcf..788627b 100644 --- a/ProjectSettings/InputManager.asset +++ b/ProjectSettings/InputManager.asset @@ -16,7 +16,7 @@ InputManager: gravity: 1000 dead: 0.001 sensitivity: 3 - snap: 1 + snap: 0 invert: 0 type: 0 axis: 0 @@ -32,7 +32,7 @@ InputManager: gravity: 1000 dead: 0.001 sensitivity: 3 - snap: 1 + snap: 0 invert: 0 type: 0 axis: 0