Slight tweak to improve upon the last merge
This commit is contained in:
@@ -42,7 +42,7 @@ public class PlayerController : MonoBehaviour
|
|||||||
|
|
||||||
float yStore = moveDirection.y;
|
float yStore = moveDirection.y;
|
||||||
//Need to switch to 'raw' when using keyboard
|
//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)
|
if (jump <= 1)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ InputManager:
|
|||||||
gravity: 1000
|
gravity: 1000
|
||||||
dead: 0.001
|
dead: 0.001
|
||||||
sensitivity: 3
|
sensitivity: 3
|
||||||
snap: 1
|
snap: 0
|
||||||
invert: 0
|
invert: 0
|
||||||
type: 0
|
type: 0
|
||||||
axis: 0
|
axis: 0
|
||||||
@@ -32,7 +32,7 @@ InputManager:
|
|||||||
gravity: 1000
|
gravity: 1000
|
||||||
dead: 0.001
|
dead: 0.001
|
||||||
sensitivity: 3
|
sensitivity: 3
|
||||||
snap: 1
|
snap: 0
|
||||||
invert: 0
|
invert: 0
|
||||||
type: 0
|
type: 0
|
||||||
axis: 0
|
axis: 0
|
||||||
|
|||||||
Reference in New Issue
Block a user