Added obstacle buffer to infinity runner so player is given more space to lose upon respawn

This commit is contained in:
Gregory Campbell
2020-02-11 17:00:27 -05:00
parent ea1b3c1518
commit 6c78dafe7c
2 changed files with 30 additions and 2 deletions
+1 -1
View File
@@ -347,7 +347,7 @@ public class PlayerController : MonoBehaviour
}
//Debug.Log(transform.position);
Debug.Log(velocity.x + "," + velocity.z);
//Debug.Log(velocity.x + "," + velocity.z);
//Move the player in different directions based on camera look direction
if(Input.GetAxis("Horizontal") != 0 || Input.GetAxis("Vertical") != 0)