basic player controller

This commit is contained in:
MrTorex committed 2026-03-07 12:00:13 +03:00
1 parent a570b579b2
commit 7af7baf7f0
2 files changed
+43 -121

No files matched your search

+2 -40
View File
@@ -335,37 +335,6 @@ MonoBehaviour:
m_VarianceClampScale: 0.9
m_ContrastAdaptiveSharpening: 0
m_Version: 2
--- !u!1 &680819701
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 680819702}
m_Layer: 0
m_Name: GroundChecker
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &680819702
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 680819701}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: -1, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1630184751}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &832575517
GameObject:
m_ObjectHideFlags: 0
@@ -698,7 +667,6 @@ Transform:
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 680819702}
- {fileID: 330585546}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@@ -716,14 +684,8 @@ MonoBehaviour:
m_EditorClassIdentifier: Assembly-CSharp::Code.Gameplay.Player.PlayerController
forwardSpeed: 10
laneDistance: 2.5
jumpForce: 8
gravity: -2
currentLane: 1
groundCheck: {fileID: 680819702}
groundCheckRadius: 0.2
groundLayer:
serializedVersion: 2
m_Bits: 4294967295
jumpForce: 25
gravity: 20
--- !u!1 &1639123675
GameObject:
m_ObjectHideFlags: 0