Removed framerate cap and adjusted post slide slowdown

This commit is contained in:
Gregory Campbell
2020-02-11 19:18:50 -05:00
parent 37f0ed8eae
commit 753cec87f3
+2 -2
View File
@@ -77,7 +77,7 @@ public class PlayerController : MonoBehaviour
mr = playerSkin.GetComponent<MeshRenderer>();
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;
}