// Update is called once per frame
    void FixedUpdate()
    {
        SurfaceInfo surfaceInfo = raycaster.GetSurfaceInfo(GetComponent <CapsuleCollider>());

        Upright  = surfaceInfo.Pitch <= maxUprightPitch && surfaceInfo.RaycastOriginResult;
        Grounded = surfaceInfo.Pitch <= maxUprightPitch && !surfaceInfo.RaycastOriginResult;

        Movement(Upright, surfaceInfo);

        InputJump(Grounded || Upright);

        InputBoost();
    }