//Update keeps the camera focused on the sledge and zooms and rotates depending on speed
 void Update()
 {
     if (raceCheck)
     {
         speed = parent.getSpeed();
         transform.localPosition = Vector3.Lerp(transform.localPosition, new Vector3(0, 3f, -parent.getSpeed() / 2), 1 * Time.deltaTime);
         if (speed <= 8)
         {
             transform.localRotation = Quaternion.RotateTowards(transform.localRotation, Quaternion.Euler(30, 0, 0), Time.deltaTime * 10f);
         }
         else if (speed > 8)
         {
             transform.localRotation = Quaternion.RotateTowards(transform.localRotation, Quaternion.Euler(15, 0, 0), Time.deltaTime * 10f);
         }
     }
 }