When my line trace returns a BaseBuilding, my character will move to BaseBuilding’s Entrance Box collider. So all inheriting buildings will implement their own location of collider. If BaseBuilding didn’t have box, i would have to try casting it to one of my multiple buildings before calling MoveToEntrance function.