private bool checkIfHit()
{
float vel = velocityEstimator.GetAccelerationEstimate().magnitude;
if (vel > trackGlitchLowerLimit)
{
vel = 0;
}
//Debug.Log(maxVelocity + " " + vel);
maxVelocity = Mathf.Max(maxVelocity, vel);
if (vel > realHitLowerLimit)
{
Debug.Log("hit " + vel);
return(true);
}
return(false);
}