Update Event system + Add basic HardObstacle

This commit is contained in:
Antoine H 2021-01-22 17:34:44 +01:00
parent ca8790bb19
commit fd8306645b
39 changed files with 1248 additions and 69 deletions

View file

@ -15,6 +15,7 @@ GameObject:
- component: {fileID: 5304524770463492233}
- component: {fileID: 8842024822361446808}
- component: {fileID: -7733974610363878313}
- component: {fileID: 3997251302917059352}
m_Layer: 8
m_Name: Client
m_TagString: Usable
@ -158,7 +159,7 @@ NavMeshAgent:
m_GameObject: {fileID: 5304524770463492230}
m_Enabled: 1
m_AgentTypeID: 0
m_Radius: 0.32
m_Radius: 0.25
m_Speed: 1
m_Acceleration: 8
avoidancePriority: 50
@ -167,8 +168,8 @@ NavMeshAgent:
m_AutoTraverseOffMeshLink: 1
m_AutoBraking: 1
m_AutoRepath: 1
m_Height: 1.28
m_BaseOffset: 0.64
m_Height: 0.3
m_BaseOffset: 0.025
m_WalkableMask: 4294967295
m_ObstacleAvoidanceType: 4
--- !u!208 &-7733974610363878313
@ -187,6 +188,27 @@ NavMeshObstacle:
m_CarveOnlyStationary: 1
m_Center: {x: 0, y: 0.2, z: 0}
m_TimeToStationary: 0.1
--- !u!50 &3997251302917059352
Rigidbody2D:
serializedVersion: 4
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5304524770463492230}
m_BodyType: 1
m_Simulated: 1
m_UseFullKinematicContacts: 0
m_UseAutoMass: 0
m_Mass: 1
m_LinearDrag: 0
m_AngularDrag: 0.05
m_GravityScale: 1
m_Material: {fileID: 0}
m_Interpolate: 0
m_SleepingMode: 1
m_CollisionDetection: 0
m_Constraints: 4
--- !u!1 &5453982149135371002
GameObject:
m_ObjectHideFlags: 0