if (isFirst) direction = other.GetComponent<ThrowPortal>().getDirectionSecond();
else direction = other.GetComponent<ThrowPortal>().getDirectionFirst();
other.transform.position = otherPortal.transform.position + otherPortal.transform.forward*1;