public float GetTime()
 {
     if (generatedTime < 0)
     {
         generatedTime = Mathf.Max(0, GaussianRandom.random(time[0], time[1]));
     }
     return(generatedTime);
 }
    public void AddNoise()
    {
        p1 += (p1 - p0) * 0.08f * GaussianRandom.random();
        float rotNoise = 3.0f;

        q1 = Quaternion.Euler(rotNoise * GaussianRandom.random(), rotNoise * GaussianRandom.random(), rotNoise * GaussianRandom.random()) * q1;
        // t1 += GaussianRandom.random() * 0.2f;
    }