public void SetHighPrecisionPosition(Vector3 position)
        {
            if (highPrecisionPosition == null)
            {
                highPrecisionPosition = ParentObject.GetComponent <HighPrecisionPosition>();
            }

            highPrecisionPosition.Position = new Vector3d(position);
        }
 public void Initialise()
 {
     //if a high precisionposition component is detected, the transform will assume a coordinate system where the camera
     //is always centered at zero, and transformations will behave accordingly.
     highPrecisionPosition = ParentObject.GetComponent <HighPrecisionPosition>();
 }