private Vector3 CalculateArcPoint(float t, float x, float amountDistance, float velocity) { float s = t * x * amountDistance; savefiletodisk.writeFileToDisc(s.ToString()); float y = s * Mathf.Tan(radianAngle) - ((g * s * s) / (2 * velocity * velocity * Mathf.Cos(radianAngle) * Mathf.Cos(radianAngle))); // savefiletodisk.writeFileToDisc(y.ToString()); return(new Vector3(0, y, s)); }