public void LookAtH(ObjBase other) { Vector3 dir = other.GetPos() - GetPos(); dir.y = 0f; SetRot(Quaternion.LookRotation(dir)); }
public bool IsNear(ObjBase other, float dist) { return(IsNear(other.GetPos(), dist)); }