[Player] Add AI Pathfinding on a 2D grid to the player character
This commit is contained in:
2
Assets/External/AstarPathfindingProject/ExampleScenes/Example6_Navmesh/Materials.meta
vendored
Normal file
2
Assets/External/AstarPathfindingProject/ExampleScenes/Example6_Navmesh/Materials.meta
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4576b010f30584c2c8b9ef066bcbd3d0
|
||||
@@ -0,0 +1,27 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 3
|
||||
m_ObjectHideFlags: 0
|
||||
m_PrefabParentObject: {fileID: 0}
|
||||
m_PrefabInternal: {fileID: 0}
|
||||
m_Name: navmesh-navmesh_example6navmeshMat
|
||||
m_Shader: {fileID: 7, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 2
|
||||
m_TexEnvs:
|
||||
data:
|
||||
first:
|
||||
name: _MainTex
|
||||
second:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats: {}
|
||||
m_Colors:
|
||||
data:
|
||||
first:
|
||||
name: _Color
|
||||
second: {r: .800000012, g: .800000012, b: .800000012, a: 1}
|
||||
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1f2d61fa60ed54991a4e629fdb13e1f3
|
||||
1095
Assets/External/AstarPathfindingProject/ExampleScenes/Example6_Navmesh/NavmeshExample.unity
vendored
Normal file
1095
Assets/External/AstarPathfindingProject/ExampleScenes/Example6_Navmesh/NavmeshExample.unity
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,2 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 32536486e77cc4002ae78cd83c90bb2b
|
||||
1850
Assets/External/AstarPathfindingProject/ExampleScenes/Example6_Navmesh/example6.fbx
vendored
Normal file
1850
Assets/External/AstarPathfindingProject/ExampleScenes/Example6_Navmesh/example6.fbx
vendored
Normal file
File diff suppressed because it is too large
Load Diff
63
Assets/External/AstarPathfindingProject/ExampleScenes/Example6_Navmesh/example6.fbx.meta
vendored
Normal file
63
Assets/External/AstarPathfindingProject/ExampleScenes/Example6_Navmesh/example6.fbx.meta
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7fdfb9a3e0fdf4df880ebc7fa5f56398
|
||||
ModelImporter:
|
||||
fileIDToRecycleName:
|
||||
4300000: Plane_001
|
||||
4300002: Plane
|
||||
7400000: Default Take //// office
|
||||
7400002: Default Take //// navmesh
|
||||
7400004: Default Take //// example6
|
||||
100100000: DataTemplate __Singleton__
|
||||
serializedVersion: 10
|
||||
materials:
|
||||
importMaterials: 0
|
||||
materialName: 3
|
||||
materialSearch: 1
|
||||
animations:
|
||||
generateAnimations: 3
|
||||
bakeSimulation: 0
|
||||
splitAnimations: 1
|
||||
animationCompression: 1
|
||||
animationRotationError: .5
|
||||
animationPositionError: .5
|
||||
animationScaleError: .5
|
||||
animationWrapMode: 0
|
||||
clipAnimations: []
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 2
|
||||
meshCompression: 0
|
||||
addColliders: 1
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 1
|
||||
useFileUnits: 1
|
||||
optimizeMesh: 0
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVPackMargin: 4
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
splitTangentsAcrossUV: 1
|
||||
normalImportMode: 1
|
||||
tangentImportMode: 1
|
||||
textMetaNamesToFileIDs:
|
||||
//RootNode:
|
||||
data:
|
||||
first: 1
|
||||
second: a0860100
|
||||
data:
|
||||
first: 4
|
||||
second: 801a0600
|
||||
data:
|
||||
first: 23
|
||||
second: 60182300
|
||||
data:
|
||||
first: 33
|
||||
second: a05a3200
|
||||
data:
|
||||
first: 64
|
||||
second: 00a86100
|
||||
data:
|
||||
first: 111
|
||||
second: 605fa900
|
||||
192
Assets/External/AstarPathfindingProject/ExampleScenes/Example6_Navmesh/navmesh.obj
vendored
Normal file
192
Assets/External/AstarPathfindingProject/ExampleScenes/Example6_Navmesh/navmesh.obj
vendored
Normal file
@@ -0,0 +1,192 @@
|
||||
g navmesh_example6navmesh
|
||||
v 7.98 0.4 -4.35
|
||||
v 7.78 0.4 -4.55
|
||||
v 7.68 0.4 -4.9
|
||||
v 7.23 0.4 -5.3
|
||||
v 7.93 0.4 -6.15
|
||||
v 8.78 0.4 -5.65
|
||||
v 9.53 0.4 -4.9
|
||||
v 8.83 0.4 -3.95
|
||||
v 8.23 0.4 -4.4
|
||||
v 7.63 0.4 -3.95
|
||||
v 7.38 0.4 -4.1
|
||||
v 5.83 0.4 -4.3
|
||||
v 5.68 0.4 -2.4
|
||||
v 5.53 0.4 -2.4
|
||||
v 5.48 0.4 -4.35
|
||||
v 5.03 0.4 -2.3
|
||||
v 4.88 0.4 -1.95
|
||||
v 2.38 0.4 -1.95
|
||||
v 2.38 0.4 -4.35
|
||||
v 7.53 0.4 -3.65
|
||||
v 7.98 0.4 -2.95
|
||||
v 8.13 0.4 -2
|
||||
v 6.23 0.4 -1.95
|
||||
v 6.08 0.4 -2.3
|
||||
v 6.68 0.4 -4.2
|
||||
v 6.98 0.4 -4
|
||||
v 16.63 0.4 -0.5
|
||||
v 16.63 0.4 -1.55
|
||||
v 16.98 0.4 -1.65
|
||||
v 17.13 0.4 -1.9
|
||||
v 17.13 0.4 -3.55
|
||||
v 20.18 0.4 -3.55
|
||||
v 20.18 0.4 -0.5
|
||||
v 12.08 0.4 -0.5
|
||||
v 12.03 0.4 -1.55
|
||||
v 12.33 0.4 -1.65
|
||||
v 12.53 0.4 -1.95
|
||||
v 12.53 0.4 -3.55
|
||||
v 16.18 0.4 -3.55
|
||||
v 16.18 0.4 -1.9
|
||||
v 16.33 0.4 -1.65
|
||||
v 8.88 0.4 -1.55
|
||||
v 8.88 0.4 1.6
|
||||
v 8.33 0.4 1.7
|
||||
v 8.13 0.4 2.05
|
||||
v 6.23 0.4 2
|
||||
v 8.33 0.4 -1.65
|
||||
v 4.88 0.4 2
|
||||
v 2.38 0.4 2
|
||||
v 2.23 0.4 1.7
|
||||
v 1.68 0.4 1.6
|
||||
v 1.68 0.4 -1.55
|
||||
v 2.23 0.4 -1.65
|
||||
v 11.68 0.4 -0.15
|
||||
v 11.78 0.4 0.4
|
||||
v 12.08 0.4 0.55
|
||||
v 12.03 0.4 1.6
|
||||
v -1.62 0.4 1.6
|
||||
v -1.62 0.4 -1.55
|
||||
v 20.18 0.4 2.2
|
||||
v 19.13 0.4 2.25
|
||||
v 19.03 0.4 1.75
|
||||
v 18.63 0.4 1.6
|
||||
v 18.63 0.4 0.55
|
||||
v 20.18 0.4 0.55
|
||||
v 18.33 0.4 1.7
|
||||
v 18.18 0.4 1.95
|
||||
v 18.18 0.4 3.6
|
||||
v 12.53 0.4 3.6
|
||||
v 12.53 0.4 2
|
||||
v 12.33 0.4 1.7
|
||||
v 7.98 0.4 3
|
||||
v 7.53 0.4 3.7
|
||||
v 7.63 0.4 4
|
||||
v 7.38 0.4 4.15
|
||||
v 7.03 0.4 4.05
|
||||
v 6.68 0.4 4.25
|
||||
v 5.88 0.4 4.35
|
||||
v 5.68 0.4 2.45
|
||||
v 6.08 0.4 2.35
|
||||
v 5.53 0.4 2.45
|
||||
v 5.48 0.4 4.4
|
||||
v 2.38 0.4 4.4
|
||||
v 5.03 0.4 2.35
|
||||
v 20.18 0.4 3.6
|
||||
v 19.13 0.4 3.6
|
||||
v 7.98 0.4 4.4
|
||||
v 7.78 0.4 4.6
|
||||
v 8.23 0.4 4.45
|
||||
v 8.83 0.4 4.05
|
||||
v 9.53 0.4 4.95
|
||||
v 8.78 0.4 5.7
|
||||
v 7.93 0.4 6.2
|
||||
v 7.23 0.4 5.35
|
||||
v 7.68 0.4 4.95
|
||||
vt 0
|
||||
f 9/0 1/0 2/0
|
||||
f 9/0 2/0 3/0
|
||||
f 3/0 4/0 5/0
|
||||
f 3/0 5/0 6/0
|
||||
f 9/0 3/0 6/0
|
||||
f 7/0 8/0 9/0
|
||||
f 6/0 7/0 9/0
|
||||
f 10/0 11/0 2/0
|
||||
f 1/0 10/0 2/0
|
||||
f 12/0 13/0 14/0
|
||||
f 12/0 14/0 15/0
|
||||
f 15/0 14/0 16/0
|
||||
f 15/0 16/0 17/0
|
||||
f 17/0 18/0 19/0
|
||||
f 17/0 19/0 15/0
|
||||
f 11/0 10/0 20/0
|
||||
f 26/0 11/0 20/0
|
||||
f 12/0 25/0 26/0
|
||||
f 26/0 20/0 21/0
|
||||
f 21/0 22/0 23/0
|
||||
f 21/0 23/0 24/0
|
||||
f 26/0 21/0 24/0
|
||||
f 24/0 13/0 12/0
|
||||
f 24/0 12/0 26/0
|
||||
f 27/0 28/0 29/0
|
||||
f 27/0 29/0 30/0
|
||||
f 33/0 27/0 30/0
|
||||
f 30/0 31/0 32/0
|
||||
f 30/0 32/0 33/0
|
||||
f 34/0 35/0 36/0
|
||||
f 41/0 28/0 27/0
|
||||
f 40/0 41/0 27/0
|
||||
f 34/0 36/0 37/0
|
||||
f 37/0 38/0 39/0
|
||||
f 37/0 39/0 40/0
|
||||
f 34/0 37/0 40/0
|
||||
f 27/0 34/0 40/0
|
||||
f 44/0 45/0 46/0
|
||||
f 23/0 22/0 47/0
|
||||
f 43/0 44/0 46/0
|
||||
f 23/0 47/0 42/0
|
||||
f 42/0 43/0 46/0
|
||||
f 42/0 46/0 23/0
|
||||
f 48/0 49/0 50/0
|
||||
f 53/0 18/0 17/0
|
||||
f 48/0 50/0 51/0
|
||||
f 52/0 53/0 17/0
|
||||
f 48/0 51/0 52/0
|
||||
f 48/0 52/0 17/0
|
||||
f 55/0 56/0 57/0
|
||||
f 35/0 34/0 54/0
|
||||
f 42/0 35/0 54/0
|
||||
f 55/0 57/0 43/0
|
||||
f 54/0 55/0 43/0
|
||||
f 54/0 43/0 42/0
|
||||
f 51/0 58/0 59/0
|
||||
f 51/0 59/0 52/0
|
||||
f 60/0 61/0 62/0
|
||||
f 62/0 63/0 64/0
|
||||
f 62/0 64/0 65/0
|
||||
f 60/0 62/0 65/0
|
||||
f 71/0 57/0 56/0
|
||||
f 64/0 63/0 66/0
|
||||
f 64/0 66/0 67/0
|
||||
f 70/0 71/0 56/0
|
||||
f 68/0 69/0 70/0
|
||||
f 67/0 68/0 70/0
|
||||
f 67/0 70/0 56/0
|
||||
f 67/0 56/0 64/0
|
||||
f 73/0 74/0 75/0
|
||||
f 73/0 75/0 76/0
|
||||
f 73/0 76/0 77/0
|
||||
f 45/0 72/0 73/0
|
||||
f 73/0 77/0 78/0
|
||||
f 78/0 79/0 80/0
|
||||
f 73/0 78/0 80/0
|
||||
f 45/0 73/0 80/0
|
||||
f 45/0 80/0 46/0
|
||||
f 84/0 81/0 82/0
|
||||
f 48/0 84/0 82/0
|
||||
f 83/0 49/0 48/0
|
||||
f 82/0 83/0 48/0
|
||||
f 61/0 60/0 85/0
|
||||
f 61/0 85/0 86/0
|
||||
f 78/0 82/0 81/0
|
||||
f 78/0 81/0 79/0
|
||||
f 88/0 75/0 74/0
|
||||
f 87/0 88/0 74/0
|
||||
f 88/0 87/0 89/0
|
||||
f 95/0 88/0 89/0
|
||||
f 93/0 94/0 95/0
|
||||
f 92/0 93/0 95/0
|
||||
f 92/0 95/0 89/0
|
||||
f 89/0 90/0 91/0
|
||||
f 89/0 91/0 92/0
|
||||
67
Assets/External/AstarPathfindingProject/ExampleScenes/Example6_Navmesh/navmesh.obj.meta
vendored
Normal file
67
Assets/External/AstarPathfindingProject/ExampleScenes/Example6_Navmesh/navmesh.obj.meta
vendored
Normal file
@@ -0,0 +1,67 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6ac6694dd977643948f7ae7305e370ba
|
||||
ModelImporter:
|
||||
serializedVersion: 15
|
||||
fileIDToRecycleName:
|
||||
100000: //RootNode
|
||||
100002: navmesh_example6navmesh
|
||||
400000: //RootNode
|
||||
400002: navmesh_example6navmesh
|
||||
2300000: navmesh_example6navmesh
|
||||
3300000: navmesh_example6navmesh
|
||||
4300000: example6navmesh
|
||||
4300002: default
|
||||
4300004: navmesh_example6navmesh
|
||||
11100000: //RootNode
|
||||
materials:
|
||||
importMaterials: 1
|
||||
materialName: 3
|
||||
materialSearch: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 0
|
||||
bakeSimulation: 0
|
||||
animationCompression: 1
|
||||
animationRotationError: .5
|
||||
animationPositionError: .5
|
||||
animationScaleError: .5
|
||||
animationWrapMode: 0
|
||||
clipAnimations: []
|
||||
isReadable: 1
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 1
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
importBlendShapes: 1
|
||||
swapUVChannels: 1
|
||||
generateSecondaryUV: 0
|
||||
useFileUnits: 1
|
||||
optimizeMeshForGPU: 1
|
||||
weldVertices: 1
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVPackMargin: 4
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
splitTangentsAcrossUV: 0
|
||||
normalImportMode: 1
|
||||
tangentImportMode: 1
|
||||
importAnimation: 1
|
||||
copyAvatar: 0
|
||||
humanDescription:
|
||||
human: []
|
||||
skeleton: []
|
||||
handles: []
|
||||
armTwist: .5
|
||||
foreArmTwist: .5
|
||||
upperLegTwist: .5
|
||||
legTwist: .5
|
||||
armStretch: .0500000007
|
||||
legStretch: .0500000007
|
||||
feetSpacing: 0
|
||||
rootMotionBoneName:
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
additionalBone: 1
|
||||
animationType: 1
|
||||
userData:
|
||||
Reference in New Issue
Block a user