Make better move and platform detection

This commit is contained in:
haitem
2022-02-02 22:30:51 +01:00
parent 15491b7272
commit 361262cac8
16 changed files with 107 additions and 62 deletions

View File

@@ -213,7 +213,7 @@ BoxCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 5, y: 0.8, z: 7.4}
m_Size: {x: 6, y: 0.8, z: 8}
m_Center: {x: 0, y: 0.14, z: 1.25}
--- !u!114 &4297191551228047469
MonoBehaviour:

View File

@@ -114,7 +114,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8768991388683709947}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalPosition: {x: 0, y: 0.25, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
@@ -218,7 +218,7 @@ BoxCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 5.03, y: 0.7, z: 5}
m_Size: {x: 6, y: 0.7, z: 6}
m_Center: {x: 0, y: 0.1, z: 0}
--- !u!114 &-5509448037057392871
MonoBehaviour:

View File

@@ -129,7 +129,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8768991388683709947}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalPosition: {x: 0, y: 0.25, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
@@ -215,7 +215,7 @@ BoxCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 5.03, y: 0.7, z: 5}
m_Size: {x: 6, y: 0.7, z: 6}
m_Center: {x: 0, y: 0.1, z: 0}
--- !u!114 &-7597049073915248875
MonoBehaviour:

View File

@@ -130,7 +130,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8768991388683709947}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalPosition: {x: 0, y: 0.25, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
@@ -201,7 +201,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
type: 1
speed: 5
speed: 10
audioSource: {fileID: 5862113707430629064}
audioClips:
- {fileID: 8300000, guid: e25b1f5c308fe154a8d7203703e2f298, type: 3}
@@ -218,7 +218,7 @@ BoxCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 5.03, y: 0.7, z: 5}
m_Size: {x: 6, y: 0.7, z: 6}
m_Center: {x: 0, y: 0.1, z: 0}
--- !u!114 &-142748814437030588
MonoBehaviour:

View File

@@ -215,7 +215,7 @@ BoxCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 3.4, y: 0.5, z: 5}
m_Size: {x: 4, y: 0.5, z: 6}
m_Center: {x: 0, y: 0.25, z: 0}
--- !u!114 &5433657018731068073
MonoBehaviour:

View File

@@ -219,7 +219,7 @@ BoxCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 3.4, y: 0.5, z: 5}
m_Size: {x: 4, y: 0.5, z: 6}
m_Center: {x: 0, y: 0.25, z: 0}
--- !u!114 &5433657018731068073
MonoBehaviour:

View File

@@ -47,7 +47,7 @@ BoxCollider:
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 5, y: 0.8, z: 7.6}
m_Size: {x: 6, y: 0.8, z: 8}
m_Center: {x: 0, y: 0.14, z: 1.3}
--- !u!114 &2125975832863856952
MonoBehaviour: