diff --git a/Assets/Scripts/Simulator/Components/ASRS/ASRSComponent.cs b/Assets/Scripts/Simulator/Components/ASRS/ASRSComponent.cs index a5725d52..a1a448f7 100644 --- a/Assets/Scripts/Simulator/Components/ASRS/ASRSComponent.cs +++ b/Assets/Scripts/Simulator/Components/ASRS/ASRSComponent.cs @@ -17,6 +17,7 @@ public class ASRSComponent : ComponentBase data = asrsData; SetRack(asrsData.asrs_layout); SetStackerCrane(asrsData.asrs_layout); + FitCollider(); } public override void GetModelData(DataObject modelData) diff --git a/Assets/Scripts/Simulator/Components/Conveyor/ConveyorManager.cs b/Assets/Scripts/Simulator/Components/Conveyor/ConveyorManager.cs index dce926d7..ec534e8f 100644 --- a/Assets/Scripts/Simulator/Components/Conveyor/ConveyorManager.cs +++ b/Assets/Scripts/Simulator/Components/Conveyor/ConveyorManager.cs @@ -102,7 +102,7 @@ public class ConveyorManager : SingletonScene // ▲ 추가: station의 연결성(직선/코너) 기반 cap 분리 & 코너 배치 ProcessStations(); - //SubscribeConveyor(data); + } public void SubscribeConveyor(ConveyorDataClass data) diff --git a/Assets/Scripts/Simulator/Components/RackComponent.cs b/Assets/Scripts/Simulator/Components/RackComponent.cs index 222619fb..01442c2d 100644 --- a/Assets/Scripts/Simulator/Components/RackComponent.cs +++ b/Assets/Scripts/Simulator/Components/RackComponent.cs @@ -84,6 +84,10 @@ namespace Simulator.Data { dropcell.transform.parent = this.transform; cellComponents.Add(((int)(layout.x), 0, 0), dropcell.GetComponent()); } + else + { + FitCollider(); + } } } } \ No newline at end of file