public void StartAnimation() { resetDistances(); vertexIndexes = new List <int>(); vertexIndexes = faceTracing.returnVertexIndexes(); trackingValues = faceTracing.returnTrackingValues(); distances = new Vector3[vertexIndexes.Count]; //Vector3 tpos = getTrackingCenter(); //print("Tracking center "+tpos); trackerCenter.transform.position = getTrackingCenter(); calcDistances(); }