build update
This commit is contained in:
@@ -102,7 +102,7 @@ public class ConveyorManager : SingletonScene<ConveyorManager>
|
||||
// ▲ 추가: station의 연결성(직선/코너) 기반 cap 분리 & 코너 배치
|
||||
ProcessStations();
|
||||
|
||||
SubscribeConveyor(data);
|
||||
//SubscribeConveyor(data);
|
||||
}
|
||||
|
||||
public void SubscribeConveyor(ConveyorDataClass data)
|
||||
@@ -221,7 +221,7 @@ public class ConveyorManager : SingletonScene<ConveyorManager>
|
||||
|
||||
var corner = Instantiate(corner90Prefab);
|
||||
corner.transform.position = stationPos;
|
||||
corner.transform.rotation = Quaternion.Euler(new Vector3(-90, -angle, 0));
|
||||
corner.transform.rotation = Quaternion.Euler(new Vector3(-90, -angle+90f, 0));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -275,6 +275,6 @@ public class ConveyorManager : SingletonScene<ConveyorManager>
|
||||
|
||||
private Vector3 ToVector3(Position p)
|
||||
{
|
||||
return new Vector3(p.x, p.z, p.y);
|
||||
return new Vector3(p.x, p.z, -p.y);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user