Use more blend trees

This commit is contained in:
Denis-Cosmin Nutiu 2019-06-15 18:44:35 +03:00
parent 20d888dbc4
commit cc48a67bad

View file

@ -34,6 +34,37 @@ AnimatorController:
m_IKPass: 0 m_IKPass: 0
m_SyncedLayerAffectsTiming: 0 m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000} m_Controller: {fileID: 9100000}
--- !u!206 &206420994646253094
BlendTree:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: RunDownTree
m_Childs:
- serializedVersion: 2
m_Motion: {fileID: 7400000, guid: 2337addfd1df04b75a2f6e9b66367f34, type: 2}
m_Threshold: -0.2
m_Position: {x: 0, y: 0}
m_TimeScale: 1
m_CycleOffset: 0
m_DirectBlendParameter: AnimVertical
m_Mirror: 0
- serializedVersion: 2
m_Motion: {fileID: 7400000, guid: b7a9ce2fb18da4647af9b13ba8d28017, type: 2}
m_Threshold: 0
m_Position: {x: 0, y: 0}
m_TimeScale: 1
m_CycleOffset: 0
m_DirectBlendParameter: AnimVertical
m_Mirror: 0
m_BlendParameter: AnimVertical
m_BlendParameterY: Blend
m_MinThreshold: -0.2
m_MaxThreshold: 0
m_UseAutomaticThresholds: 0
m_NormalizedBlendValues: 0
m_BlendType: 0
--- !u!206 &206562206788270934 --- !u!206 &206562206788270934
BlendTree: BlendTree:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 1
@ -49,6 +80,37 @@ BlendTree:
m_UseAutomaticThresholds: 1 m_UseAutomaticThresholds: 1
m_NormalizedBlendValues: 0 m_NormalizedBlendValues: 0
m_BlendType: 0 m_BlendType: 0
--- !u!206 &206664839075427656
BlendTree:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: RunLeftTree
m_Childs:
- serializedVersion: 2
m_Motion: {fileID: 7400000, guid: 8de583040b3af46e9ab707c87ae51e79, type: 2}
m_Threshold: -0.2
m_Position: {x: 0, y: 0}
m_TimeScale: 1
m_CycleOffset: 0
m_DirectBlendParameter: AnimVertical
m_Mirror: 0
- serializedVersion: 2
m_Motion: {fileID: 7400000, guid: 6a6539bed18954b148bf9d104ba5d99b, type: 2}
m_Threshold: 0
m_Position: {x: 0, y: 0}
m_TimeScale: 1
m_CycleOffset: 0
m_DirectBlendParameter: AnimVertical
m_Mirror: 0
m_BlendParameter: AnimHorizontal
m_BlendParameterY: Blend
m_MinThreshold: -0.2
m_MaxThreshold: 0
m_UseAutomaticThresholds: 0
m_NormalizedBlendValues: 0
m_BlendType: 0
--- !u!206 &206674423866706998 --- !u!206 &206674423866706998
BlendTree: BlendTree:
m_ObjectHideFlags: 1 m_ObjectHideFlags: 1
@ -58,7 +120,7 @@ BlendTree:
m_Name: Blend Tree m_Name: Blend Tree
m_Childs: m_Childs:
- serializedVersion: 2 - serializedVersion: 2
m_Motion: {fileID: 7400000, guid: 2337addfd1df04b75a2f6e9b66367f34, type: 2} m_Motion: {fileID: 206420994646253094}
m_Threshold: 0 m_Threshold: 0
m_Position: {x: 0, y: -0.5} m_Position: {x: 0, y: -0.5}
m_TimeScale: 1 m_TimeScale: 1
@ -66,31 +128,23 @@ BlendTree:
m_DirectBlendParameter: AnimVertical m_DirectBlendParameter: AnimVertical
m_Mirror: 0 m_Mirror: 0
- serializedVersion: 2 - serializedVersion: 2
m_Motion: {fileID: 7400000, guid: b7a9ce2fb18da4647af9b13ba8d28017, type: 2} m_Motion: {fileID: 206718918807395420}
m_Threshold: 0.2 m_Threshold: 0.26666668
m_Position: {x: 0, y: 0}
m_TimeScale: 1
m_CycleOffset: 0
m_DirectBlendParameter: AnimVertical
m_Mirror: 0
- serializedVersion: 2
m_Motion: {fileID: 7400000, guid: 5cfba2509014e441a812fd5493deaaca, type: 2}
m_Threshold: 0.4
m_Position: {x: 0, y: 0.5} m_Position: {x: 0, y: 0.5}
m_TimeScale: 1 m_TimeScale: 1
m_CycleOffset: 0 m_CycleOffset: 0
m_DirectBlendParameter: AnimVertical m_DirectBlendParameter: AnimVertical
m_Mirror: 0 m_Mirror: 0
- serializedVersion: 2 - serializedVersion: 2
m_Motion: {fileID: 7400000, guid: 96df1e786c8d74c8f98e0ba167ee5a80, type: 2} m_Motion: {fileID: 206893634745453868}
m_Threshold: 0.6 m_Threshold: 0.53333336
m_Position: {x: 0.5, y: 0} m_Position: {x: 0.5, y: 0}
m_TimeScale: 1 m_TimeScale: 1
m_CycleOffset: 0 m_CycleOffset: 0
m_DirectBlendParameter: AnimVertical m_DirectBlendParameter: AnimVertical
m_Mirror: 0 m_Mirror: 0
- serializedVersion: 2 - serializedVersion: 2
m_Motion: {fileID: 7400000, guid: 8de583040b3af46e9ab707c87ae51e79, type: 2} m_Motion: {fileID: 206664839075427656}
m_Threshold: 0.8 m_Threshold: 0.8
m_Position: {x: -0.5, y: 0} m_Position: {x: -0.5, y: 0}
m_TimeScale: 1 m_TimeScale: 1
@ -104,6 +158,68 @@ BlendTree:
m_UseAutomaticThresholds: 1 m_UseAutomaticThresholds: 1
m_NormalizedBlendValues: 0 m_NormalizedBlendValues: 0
m_BlendType: 1 m_BlendType: 1
--- !u!206 &206718918807395420
BlendTree:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: RunUpTree
m_Childs:
- serializedVersion: 2
m_Motion: {fileID: 7400000, guid: 19dc6e34d6d9047d99b6de00eb5a0a82, type: 2}
m_Threshold: 0
m_Position: {x: 0, y: 0}
m_TimeScale: 1
m_CycleOffset: 0
m_DirectBlendParameter: AnimVertical
m_Mirror: 0
- serializedVersion: 2
m_Motion: {fileID: 7400000, guid: 5cfba2509014e441a812fd5493deaaca, type: 2}
m_Threshold: 0.2
m_Position: {x: 0, y: 0}
m_TimeScale: 1
m_CycleOffset: 0
m_DirectBlendParameter: AnimVertical
m_Mirror: 0
m_BlendParameter: AnimVertical
m_BlendParameterY: Blend
m_MinThreshold: 0
m_MaxThreshold: 0.2
m_UseAutomaticThresholds: 0
m_NormalizedBlendValues: 0
m_BlendType: 0
--- !u!206 &206893634745453868
BlendTree:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: RunRightTree
m_Childs:
- serializedVersion: 2
m_Motion: {fileID: 7400000, guid: 832b860e387b44ff3ace50d911b69420, type: 2}
m_Threshold: 0
m_Position: {x: 0, y: 0}
m_TimeScale: 1
m_CycleOffset: 0
m_DirectBlendParameter: AnimVertical
m_Mirror: 0
- serializedVersion: 2
m_Motion: {fileID: 7400000, guid: 96df1e786c8d74c8f98e0ba167ee5a80, type: 2}
m_Threshold: 0.2
m_Position: {x: 0, y: 0}
m_TimeScale: 1
m_CycleOffset: 0
m_DirectBlendParameter: AnimVertical
m_Mirror: 0
m_BlendParameter: AnimHorizontal
m_BlendParameterY: Blend
m_MinThreshold: 0
m_MaxThreshold: 0.2
m_UseAutomaticThresholds: 0
m_NormalizedBlendValues: 0
m_BlendType: 0
--- !u!1102 &1102132816377026092 --- !u!1102 &1102132816377026092
AnimatorState: AnimatorState:
serializedVersion: 5 serializedVersion: 5