일부 건물의 테두리에 NavMesh가 깔려있지 않은 문제 수정

Collider를 없앤 후 NavMesh를 설치하여 NavMesh를 생성, 그 후에 Collider를 생성하여 빈 공간이 없도록 함
건물에 의해 갈 수 없는 공간도 갈 수 있다고 판단하게 되지만 Collider에 의해 막히기 때문에 괜찮다고 판단

추가로 적의 인지 범위를 조정함
This commit is contained in:
2026-02-19 15:47:17 +09:00
parent dfb41b0d57
commit 01e7291bed
13 changed files with 114 additions and 36 deletions

View File

@@ -987,8 +987,8 @@ MonoBehaviour:
minResourceCount: 8
maxResourceCount: 12
minDistanceBetweenResources: 80
minDistanceFromCore: 30
minDistanceFromBarracks: 30
minDistanceFromCore: 40
minDistanceFromBarracks: 40
initialResourceProduction: 50
additionalResourceBaseProduction: 25
targetTotalProduction: 300
@@ -1589,7 +1589,7 @@ MeshCollider:
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 5
m_Convex: 1
m_Convex: 0
m_CookingOptions: 30
m_Mesh: {fileID: 7871226766641542135, guid: 19ca9afdd7bb3a64c9036c18e8cee5f2, type: 3}
--- !u!114 &985764489
@@ -3027,10 +3027,6 @@ PrefabInstance:
propertyPath: GlobalObjectIdHash
value: 1738409839
objectReference: {fileID: 0}
- target: {fileID: 8736618315465008189, guid: 368961a0f2d71ce4aad5d8ffe52e0b7f, type: 3}
propertyPath: InScenePlacedSourceGlobalObjectIdHash
value: 3845453594
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
@@ -3371,14 +3367,6 @@ PrefabInstance:
serializedVersion: 3
m_TransformParent: {fileID: 576429380}
m_Modifications:
- target: {fileID: 2236804103334722056, guid: e56926eda34629f4fbf3e4c53f0f8bd4, type: 3}
propertyPath: m_Center.y
value: 4
objectReference: {fileID: 0}
- target: {fileID: 2964705630284685173, guid: e56926eda34629f4fbf3e4c53f0f8bd4, type: 3}
propertyPath: buildingData
value:
objectReference: {fileID: 0}
- target: {fileID: 5173262576415873253, guid: e56926eda34629f4fbf3e4c53f0f8bd4, type: 3}
propertyPath: GlobalObjectIdHash
value: 3998537868