feat: Wall run

This commit is contained in:
2026-06-08 01:09:28 +02:00
parent 6a26357204
commit 5f6edb910f
113 changed files with 68759 additions and 37 deletions

View File

@@ -1,5 +1,36 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!206 &-8856798706878127083
BlendTree:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: walkOrRun
m_Childs:
- serializedVersion: 2
m_Motion: {fileID: 7400000, guid: bba630295409b484b97df6d931d247f4, type: 2}
m_Threshold: 0
m_Position: {x: 0, y: 0}
m_TimeScale: 1
m_CycleOffset: 0
m_DirectBlendParameter: move
m_Mirror: 0
- serializedVersion: 2
m_Motion: {fileID: 3350419700628647298}
m_Threshold: 1
m_Position: {x: 0, y: 0}
m_TimeScale: 1
m_CycleOffset: 0
m_DirectBlendParameter: move
m_Mirror: 0
m_BlendParameter: run
m_BlendParameterY: Blend
m_MinThreshold: 0
m_MaxThreshold: 1
m_UseAutomaticThresholds: 1
m_NormalizedBlendValues: 0
m_BlendType: 0
--- !u!1101 &-5485362655117760516
AnimatorStateTransition:
m_ObjectHideFlags: 1
@@ -49,6 +80,21 @@ AnimatorState:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!206 &-4688698933107788323
BlendTree:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: BlendTree
m_Childs: []
m_BlendParameter: move
m_BlendParameterY: Blend
m_MinThreshold: 0
m_MaxThreshold: 1
m_UseAutomaticThresholds: 1
m_NormalizedBlendValues: 0
m_BlendType: 0
--- !u!1101 &-3226574835590216239
AnimatorStateTransition:
m_ObjectHideFlags: 1
@@ -224,6 +270,21 @@ AnimatorStateMachine:
m_ExitPosition: {x: 800, y: 120, z: 0}
m_ParentStateMachinePosition: {x: 800, y: 20, z: 0}
m_DefaultState: {fileID: 5056364956027464035}
--- !u!206 &-602548221408612881
BlendTree:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: BlendTree
m_Childs: []
m_BlendParameter: move
m_BlendParameterY: Blend
m_MinThreshold: 0
m_MaxThreshold: 1
m_UseAutomaticThresholds: 1
m_NormalizedBlendValues: 0
m_BlendType: 0
--- !u!91 &9100000
AnimatorController:
m_ObjectHideFlags: 0
@@ -239,6 +300,18 @@ AnimatorController:
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 9100000}
- m_Name: run
m_Type: 1
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 9100000}
- m_Name: wall
m_Type: 1
m_DefaultFloat: 0.5
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 9100000}
- m_Name: trigger_move
m_Type: 9
m_DefaultFloat: 0
@@ -370,6 +443,45 @@ AnimatorStateTransition:
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!206 &3350419700628647298
BlendTree:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: run
m_Childs:
- serializedVersion: 2
m_Motion: {fileID: 7400000, guid: 37f55d821e29a3d44803b8640000e23e, type: 2}
m_Threshold: 0
m_Position: {x: 0, y: 0}
m_TimeScale: 1
m_CycleOffset: 0
m_DirectBlendParameter: move
m_Mirror: 0
- serializedVersion: 2
m_Motion: {fileID: 7400000, guid: c7a78f46c90bf344999d8300c1b01a62, type: 2}
m_Threshold: 0.5
m_Position: {x: 0, y: 0}
m_TimeScale: 1
m_CycleOffset: 0
m_DirectBlendParameter: move
m_Mirror: 0
- serializedVersion: 2
m_Motion: {fileID: 7400000, guid: 7a6241ab5cb021642aac569da953097a, type: 2}
m_Threshold: 1
m_Position: {x: 0, y: 0}
m_TimeScale: 1
m_CycleOffset: 0
m_DirectBlendParameter: move
m_Mirror: 0
m_BlendParameter: wall
m_BlendParameterY: Blend
m_MinThreshold: 0
m_MaxThreshold: 1
m_UseAutomaticThresholds: 1
m_NormalizedBlendValues: 0
m_BlendType: 0
--- !u!1102 &5056364956027464035
AnimatorState:
serializedVersion: 6
@@ -392,7 +504,7 @@ AnimatorState:
m_TimeParameterActive: 0
m_Motion: {fileID: 7664462660922354015}
m_Tag:
m_SpeedParameter:
m_SpeedParameter: move
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
@@ -427,7 +539,7 @@ BlendTree:
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Blend Tree
m_Name: move
m_Childs:
- serializedVersion: 2
m_Motion: {fileID: 7400000, guid: 8c806d9fbb21847439297a4495ec07ea, type: 2}
@@ -438,12 +550,12 @@ BlendTree:
m_DirectBlendParameter: Blend
m_Mirror: 0
- serializedVersion: 2
m_Motion: {fileID: 7400000, guid: bba630295409b484b97df6d931d247f4, type: 2}
m_Motion: {fileID: -8856798706878127083}
m_Threshold: 1
m_Position: {x: 0, y: 0}
m_TimeScale: 1
m_CycleOffset: 0
m_DirectBlendParameter: Blend
m_DirectBlendParameter: move
m_Mirror: 0
m_BlendParameter: move
m_BlendParameterY: Blend
@@ -520,8 +632,8 @@ AnimatorStateTransition:
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.03437853
m_TransitionOffset: 0
m_TransitionDuration: 0.12249732
m_TransitionOffset: 0.076369606
m_ExitTime: 0.75
m_HasExitTime: 0
m_HasFixedDuration: 1

Binary file not shown.

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c7a78f46c90bf344999d8300c1b01a62
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 37f55d821e29a3d44803b8640000e23e
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 7a6241ab5cb021642aac569da953097a
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 7400000
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -68,6 +68,10 @@ PrefabInstance:
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 385561929513473945, guid: 2b8eab5f9e0c5c649a40b323ec6d99db, type: 3}
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 2b8eab5f9e0c5c649a40b323ec6d99db, type: 3}
propertyPath: m_Name
value: Bot
@@ -88,7 +92,8 @@ PrefabInstance:
propertyPath: m_IsActive
value: 0
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedComponents:
- {fileID: 2223639932434330405, guid: 2b8eab5f9e0c5c649a40b323ec6d99db, type: 3}
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents:

View File

@@ -108,7 +108,187 @@ ModelImporter:
humanDescription:
serializedVersion: 3
human: []
skeleton: []
skeleton:
- name: bot(Clone)
parentName:
position: {x: -0, y: 0, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: meshes
parentName: bot(Clone)
position: {x: -0, y: 0, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: accessories
parentName: meshes
position: {x: -0, y: 0, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: boxer
parentName: accessories
position: {x: -0, y: 0.7527527, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1.1309773, y: 1.0875494, z: 1.1309773}
- name: catEars
parentName: accessories
position: {x: -0, y: 1.2719154, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: hat
parentName: accessories
position: {x: 0.12592448, y: 1.4091345, z: 0.1319935}
rotation: {x: 0.21247292, y: -0.061253037, z: -0.25275907, w: 0.94192153}
scale: {x: 1, y: 1, z: 1}
- name: horns
parentName: accessories
position: {x: -0, y: 1.2537463, z: 0.44916025}
rotation: {x: 0.44587576, y: -0, z: -0, w: 0.8950949}
scale: {x: 1, y: 1, z: 1}
- name: mohawk
parentName: accessories
position: {x: -0, y: 0, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: nose
parentName: accessories
position: {x: -0, y: 1.0499041, z: 0.493445}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: rocketLauncher
parentName: accessories
position: {x: 0.1481002, y: 1.0566165, z: -0.14841615}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: sunglasses
parentName: accessories
position: {x: -0, y: 1.1250585, z: 0.47607607}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: tie
parentName: accessories
position: {x: -0, y: 0.8645468, z: 0.35925347}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: wings
parentName: accessories
position: {x: -0, y: 1.0537323, z: -0.35972846}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: body
parentName: meshes
position: {x: -0, y: 0, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: hatch_L
parentName: meshes
position: {x: 0.23244224, y: 1.2750509, z: -0.23244226}
rotation: {x: 0, y: -0.38268346, z: -0, w: 0.92387956}
scale: {x: 1, y: 1, z: 1}
- name: hatch_R
parentName: meshes
position: {x: -0.23244224, y: 1.2750509, z: -0.23244226}
rotation: {x: 0, y: 0.38268346, z: -0, w: 0.92387956}
scale: {x: 1, y: 1, z: 1}
- name: skeleton
parentName: bot(Clone)
position: {x: -0, y: 0, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: jnt_body
parentName: skeleton
position: {x: -0, y: 0.75, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: jnt_hatch_L
parentName: jnt_body
position: {x: 0.23244224, y: 0.52505094, z: -0.23244226}
rotation: {x: 0, y: -0.38268346, z: -0, w: 0.92387956}
scale: {x: 1, y: 1, z: 1}
- name: jnt_hatch_R
parentName: jnt_body
position: {x: -0.23244224, y: 0.52505094, z: -0.23244226}
rotation: {x: 0, y: 0.38268346, z: -0, w: 0.92387956}
scale: {x: 1, y: 1, z: 1}
- name: jnt_head
parentName: jnt_body
position: {x: -0, y: 0.3602, z: 0.266}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: jnt_hip_L
parentName: jnt_body
position: {x: -0.154, y: -0.225, z: 0}
rotation: {x: 1, y: 0, z: -0, w: 0.00000012489448}
scale: {x: 1, y: 1, z: 1}
- name: jnt_knee_L
parentName: jnt_hip_L
position: {x: -0, y: 0.20999996, z: -7.888609e-33}
rotation: {x: 0.00000020847868, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: jnt_foot_L
parentName: jnt_knee_L
position: {x: -0, y: 0.31500003, z: -4.32175e-20}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: jnt_hip_R
parentName: jnt_body
position: {x: 0.154, y: -0.225, z: 0}
rotation: {x: -0.00000012489448, y: -0.000000010536712, z: -1.3201222e-15, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: jnt_knee_R
parentName: jnt_hip_R
position: {x: -0, y: -0.21, z: 2.57176e-17}
rotation: {x: 0.0000002084853, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: jnt_foot_R
parentName: jnt_knee_R
position: {x: -0, y: -0.315, z: 3.8619597e-17}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: jnt_rocketLauncher_1
parentName: jnt_body
position: {x: 0.1481002, y: 0.7417898, z: -0.14841615}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: jnt_rocketLauncher_2
parentName: jnt_rocketLauncher_1
position: {x: -0, y: 0.04662567, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: jnt_rocketLauncher_3
parentName: jnt_rocketLauncher_2
position: {x: -0, y: 0.06190043, z: 1.7763568e-17}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: jnt_shoulder_L
parentName: jnt_body
position: {x: -0.364, y: 0.22719999, z: 0}
rotation: {x: 0, y: 0, z: 0.7071068, w: 0.7071068}
scale: {x: 1, y: 1, z: 1}
- name: jnt_elbow_L
parentName: jnt_shoulder_L
position: {x: -0, y: 0.21000001, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: jnt_wrist_L
parentName: jnt_elbow_L
position: {x: -0, y: 0.23099998, z: 0}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: jnt_shoulder_R
parentName: jnt_body
position: {x: 0.364, y: 0.22719999, z: 0}
rotation: {x: 0.7071068, y: -0.7071068, z: 4.3297806e-17, w: -4.3297806e-17}
scale: {x: 1, y: 1, z: 1}
- name: jnt_elbow_R
parentName: jnt_shoulder_R
position: {x: -0, y: -0.21, z: 2.5717581e-17}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
- name: jnt_wrist_R
parentName: jnt_elbow_R
position: {x: -0, y: -0.23099999, z: 2.8289342e-17}
rotation: {x: 0, y: -0, z: -0, w: 1}
scale: {x: 1, y: 1, z: 1}
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
@@ -117,13 +297,13 @@ ModelImporter:
legStretch: 0.05
feetSpacing: 0
globalScale: 1
rootMotionBoneName:
rootMotionBoneName: skeleton
hasTranslationDoF: 0
hasExtraRoot: 0
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
autoGenerateAvatarMappingIfUnspecified: 1
animationType: 2
animationType: 1
humanoidOversampling: 1
avatarSetup: 0
addHumanoidExtraRootOnlyWhenUsingAvatar: 1

View File

@@ -0,0 +1,136 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &-4816827675251227542
MonoBehaviour:
m_ObjectHideFlags: 11
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
m_Name:
m_EditorClassIdentifier: Unity.RenderPipelines.Universal.Editor::UnityEditor.Rendering.Universal.AssetVersion
version: 10
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: M_rocket_particles
m_Shader: {fileID: 10720, guid: 0000000000000000f000000000000000, type: 0}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses:
- MOTIONVECTORS
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BaseMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 10912, guid: 0000000000000000f000000000000000, type: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _AddPrecomputedVelocity: 0
- _AlphaClip: 0
- _AlphaToMask: 0
- _Blend: 0
- _BlendModePreserveSpecular: 1
- _BumpScale: 1
- _ClearCoatMask: 0
- _ClearCoatSmoothness: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailAlbedoMapScale: 1
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _DstBlendAlpha: 0
- _EnvironmentReflections: 1
- _GlossMapScale: 0
- _Glossiness: 0
- _GlossyReflections: 0
- _Metallic: 0
- _OcclusionStrength: 1
- _Parallax: 0.005
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.5
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _SrcBlendAlpha: 1
- _Surface: 0
- _WorkflowMode: 1
- _XRMotionVectorsPass: 1
- _ZWrite: 1
m_Colors:
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
m_BuildTextureStacks: []
m_AllowLocking: 1

View File

@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 4c4cc431b8921de48a3110e749e5d717
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 3a9cec4651de297468e58cfec6662a0b
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@@ -4990,13 +4990,16 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::Rocket
_references:
Collider: {fileID: 3421410324237347847}
Rigidbody: {fileID: 8647439102665066865}
Fire: {fileID: 7183850674227049229}
Explosion: {fileID: 7101154270830653306, guid: 315e0ca5cbe6f614f9e0c9ffeffb0e96, type: 3}
_settings:
IsKinematic: 0
LaunchOnEnable: 0
Speed: 8
Duration: 2
GostTime: 0
_state:
Launched: 0
Disabled: 0