Добавлено базовое перемещение, тестовый материал

This commit is contained in:
MrTorex committed 2025-10-16 23:18:22 +03:00
1 parent 86c9c126a6
commit 8981457f2d
35 files changed
+1052 -6

No files matched your search

@@ -146,7 +146,7 @@ Transform:
m_GameObject: {fileID: 55880351}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.4, y: 0.4, z: 0}
m_LocalPosition: {x: 0, y: 0.4, z: 0.4}
m_LocalScale: {x: 0.5, y: 0.2, z: 0.4}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -358,8 +358,8 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: f1d98e6c5419411098391c07861e627e, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::Code.Gameplay.Player.PlayerCamera
defaultDistance: 6
minDistance: 6
defaultDistance: 0
minDistance: 0
maxDistance: 10
distanceMovementSpeed: 5
distanceMovementSharpness: 10000
@@ -369,6 +369,9 @@ MonoBehaviour:
minVerticalAngle: -45
maxVerticalAngle: 45
defaultVerticalAngle: 10
minHorizontalAngle: -90
maxHorizontalAngle: 90
defaultHorizontalAngle: 0
--- !u!1 &453575297
GameObject:
m_ObjectHideFlags: 0
@@ -394,7 +397,7 @@ Transform:
m_GameObject: {fileID: 453575297}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0.644, y: 1.395, z: 0}
m_LocalPosition: {x: -0, y: 1.395, z: 0.59}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -466,7 +469,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 31321ba15b8f8eb4c954353edc038b1d, type: 2}
- {fileID: 2100000, guid: 115fc1c80dafb04e0a00ffed85cfb715, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@@ -644,6 +647,9 @@ GameObject:
m_Component:
- component: {fileID: 1696686254}
- component: {fileID: 1696686255}
- component: {fileID: 1696686257}
- component: {fileID: 1696686256}
- component: {fileID: 1696686258}
m_Layer: 0
m_Name: Player
m_TagString: Untagged
@@ -681,7 +687,89 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::Player
playerCamera: {fileID: 338454664}
characterController: {fileID: 1696686258}
cameraFollowPoint: {fileID: 453575298}
--- !u!114 &1696686256
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1696686253}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4d1bc5515e3ab954e80599c538834774, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::KinematicCharacterController.KinematicCharacterMotor
Capsule: {fileID: 1696686257}
CapsuleRadius: 0.5
CapsuleHeight: 2
CapsuleYOffset: 1
CapsulePhysicsMaterial: {fileID: 0}
GroundDetectionExtraDistance: 0
MaxStableSlopeAngle: 60
StableGroundLayers:
serializedVersion: 2
m_Bits: 4294967295
DiscreteCollisionEvents: 0
StepHandling: 1
MaxStepHeight: 0.5
AllowSteppingWithoutStableGrounding: 0
MinRequiredStepDepth: 0.1
LedgeAndDenivelationHandling: 1
MaxStableDistanceFromLedge: 0.5
MaxVelocityForLedgeSnap: 0
MaxStableDenivelationAngle: 180
InteractiveRigidbodyHandling: 1
RigidbodyInteractionType: 0
SimulatedCharacterMass: 1
PreserveAttachedRigidbodyMomentum: 1
HasPlanarConstraint: 0
PlanarConstraintAxis: {x: 0, y: 0, z: 1}
MaxMovementIterations: 5
MaxDecollisionIterations: 1
CheckMovementInitialOverlaps: 1
KillVelocityWhenExceedMaxMovementIterations: 1
KillRemainingMovementWhenExceedMaxMovementIterations: 1
--- !u!136 &1696686257
CapsuleCollider:
m_ObjectHideFlags: 8
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1696686253}
m_Material: {fileID: 0}
m_IncludeLayers:
serializedVersion: 2
m_Bits: 0
m_ExcludeLayers:
serializedVersion: 2
m_Bits: 0
m_LayerOverridePriority: 0
m_IsTrigger: 0
m_ProvidesContacts: 0
m_Enabled: 1
serializedVersion: 2
m_Radius: 0.5
m_Height: 2
m_Direction: 1
m_Center: {x: 0, y: 1, z: 0}
--- !u!114 &1696686258
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1696686253}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: a6f74123648343c498c883d02909b499, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::Code.Gameplay.Player.CharacterController
motor: {fileID: 1696686256}
maxStableMoveSpeed: 10
stableMovementSharpness: 15
orientationSharpness: 10
--- !u!1 &1959874989
GameObject:
m_ObjectHideFlags: 0