private void updateOtherPosition() { lastOtherPosition = transform.position; lastOtherPositionTime = Time.time; }