public float distance(ObjectInSpace target)
 {
     return Mathf.Max(0f, Vector3.Distance(transform.position, target.gameObject.transform.position) - getDistanceOffset() - target.getDistanceOffset());
 }