From 753cec87f3596208530b7a1cbcb50264a2b83a55 Mon Sep 17 00:00:00 2001 From: Gregory Campbell Date: Tue, 11 Feb 2020 19:18:50 -0500 Subject: [PATCH] Removed framerate cap and adjusted post slide slowdown --- Assets/Scripts/PlayerController.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Scripts/PlayerController.cs b/Assets/Scripts/PlayerController.cs index 80ada08..ef9dd4a 100644 --- a/Assets/Scripts/PlayerController.cs +++ b/Assets/Scripts/PlayerController.cs @@ -77,7 +77,7 @@ public class PlayerController : MonoBehaviour mr = playerSkin.GetComponent(); mr.material = characterSkins[characterSelect]; - Application.targetFrameRate = 15; + //Application.targetFrameRate = 15; } void OnControllerColliderHit(ControllerColliderHit hit) @@ -244,7 +244,7 @@ public class PlayerController : MonoBehaviour friction = 0f; - if(maxSpeed > 1) + if(maxSpeed > maxSpeedStore/4) { maxSpeed -= acceleration*2; }