Player bug fix

This commit is contained in:
brausjonas
2022-05-13 14:52:26 +02:00
parent 1fe20dbb5d
commit 5d729f584a
3 changed files with 184 additions and 48 deletions
+4 -36
View File
@@ -599,8 +599,6 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 1789911868}
- component: {fileID: 1789911869}
- component: {fileID: 1789911867}
- component: {fileID: 1789911870}
m_Layer: 0
m_Name: Player
@@ -609,22 +607,6 @@ GameObject:
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!54 &1789911867
Rigidbody:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1789911866}
serializedVersion: 2
m_Mass: 1
m_Drag: 0
m_AngularDrag: 0.05
m_UseGravity: 1
m_IsKinematic: 0
m_Interpolate: 0
m_Constraints: 112
m_CollisionDetection: 0
--- !u!4 &1789911868
Transform:
m_ObjectHideFlags: 0
@@ -633,27 +615,13 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1789911866}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 150, y: 50, z: 150}
m_LocalPosition: {x: 150, y: 50.039, z: 150}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children:
- {fileID: 1934992309}
m_Father: {fileID: 0}
m_RootOrder: 1
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!136 &1789911869
CapsuleCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1789911866}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
m_Radius: 0.4
m_Height: 1.9
m_Direction: 1
m_Center: {x: 0, y: 0, z: 0}
--- !u!114 &1789911870
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -667,8 +635,8 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
mouseSpeed: 4
moveSpeed: 5
jumpForce: 5
walkSpeed: 5
jumpForce: 8
world: {fileID: 948138834}
--- !u!1 &1934992308
GameObject:
@@ -696,7 +664,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1934992308}
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0.585, z: 0}
m_LocalPosition: {x: 0, y: 1.484, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_Children: []
m_Father: {fileID: 1789911868}