Commit b84ab14b authored by Unknown's avatar Unknown

Character Animation

parent eb351894
......@@ -33,6 +33,24 @@ AnimatorController:
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 0}
- m_Name: isAirCharged
m_Type: 4
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 0}
- m_Name: isCharging
m_Type: 4
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 0}
- m_Name: isGrounded
m_Type: 4
m_DefaultFloat: 0
m_DefaultInt: 0
m_DefaultBool: 0
m_Controller: {fileID: 0}
m_AnimatorLayers:
- serializedVersion: 5
m_Name: Base Layer
......@@ -46,6 +64,34 @@ AnimatorController:
m_IKPass: 0
m_SyncedLayerAffectsTiming: 0
m_Controller: {fileID: 9100000}
--- !u!1101 &1101059886698227582
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions:
- m_ConditionMode: 2
m_ConditionEvent: isCharging
m_EventTreshold: 0
- m_ConditionMode: 4
m_ConditionEvent: Speed
m_EventTreshold: 0.01
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: 1102179534927017740}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.005537167
m_TransitionOffset: 0
m_ExitTime: 0.117647156
m_HasExitTime: 1
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1101 &1101075609259888222
AnimatorStateTransition:
m_ObjectHideFlags: 1
......@@ -63,9 +109,9 @@ AnimatorStateTransition:
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionDuration: 0.0011327304
m_TransitionOffset: 0
m_ExitTime: 0.75
m_ExitTime: 0.7500002
m_HasExitTime: 0
m_HasFixedDuration: 1
m_InterruptionSource: 0
......@@ -88,7 +134,7 @@ AnimatorStateTransition:
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionDuration: 0.0094305575
m_TransitionOffset: 0
m_ExitTime: 0.25
m_HasExitTime: 0
......@@ -105,7 +151,13 @@ AnimatorStateTransition:
m_Name:
m_Conditions:
- m_ConditionMode: 1
m_ConditionEvent: isJumping
m_ConditionEvent: isAirborn
m_EventTreshold: 0
- m_ConditionMode: 2
m_ConditionEvent: isAirCharged
m_EventTreshold: 0
- m_ConditionMode: 2
m_ConditionEvent: isGrounded
m_EventTreshold: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: 1102435503339803072}
......@@ -113,9 +165,9 @@ AnimatorStateTransition:
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionDuration: 0.003062497
m_TransitionOffset: 0
m_ExitTime: 0.75
m_ExitTime: 0.75000006
m_HasExitTime: 0
m_HasFixedDuration: 1
m_InterruptionSource: 0
......@@ -138,14 +190,42 @@ AnimatorStateTransition:
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionDuration: 0.010239109
m_TransitionOffset: 0
m_ExitTime: 0.5
m_ExitTime: 0.50000006
m_HasExitTime: 0
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1101 &1101436539703654216
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions:
- m_ConditionMode: 2
m_ConditionEvent: isAirCharged
m_EventTreshold: 0
- m_ConditionMode: 3
m_ConditionEvent: Speed
m_EventTreshold: 0.01
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: 1102850552635528860}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.093478195
m_TransitionOffset: 0
m_ExitTime: 0.11764717
m_HasExitTime: 1
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1101 &1101471969701449560
AnimatorStateTransition:
m_ObjectHideFlags: 1
......@@ -169,7 +249,7 @@ AnimatorStateTransition:
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionDuration: 0
m_TransitionOffset: 0
m_ExitTime: 0.75
m_HasExitTime: 0
......@@ -177,6 +257,40 @@ AnimatorStateTransition:
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1101 &1101581719191597248
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions:
- m_ConditionMode: 4
m_ConditionEvent: Speed
m_EventTreshold: 0.01
- m_ConditionMode: 2
m_ConditionEvent: isAirborn
m_EventTreshold: 0
- m_ConditionMode: 2
m_ConditionEvent: isJumping
m_EventTreshold: 0
- m_ConditionMode: 1
m_ConditionEvent: isGrounded
m_EventTreshold: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: 1102179534927017740}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.005239976
m_TransitionOffset: 0
m_ExitTime: 0
m_HasExitTime: 0
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1101 &1101582114856806606
AnimatorStateTransition:
m_ObjectHideFlags: 1
......@@ -191,13 +305,16 @@ AnimatorStateTransition:
- m_ConditionMode: 2
m_ConditionEvent: isSwimming
m_EventTreshold: 0
- m_ConditionMode: 1
m_ConditionEvent: isGrounded
m_EventTreshold: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: 1102179534927017740}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionDuration: 0.006485691
m_TransitionOffset: 0
m_ExitTime: 0.25
m_HasExitTime: 0
......@@ -219,15 +336,83 @@ AnimatorStateTransition:
- m_ConditionMode: 3
m_ConditionEvent: Speed
m_EventTreshold: 0.01
- m_ConditionMode: 1
m_ConditionEvent: isGrounded
m_EventTreshold: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: 1102850552635528860}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionDuration: 0.01753299
m_TransitionOffset: 0
m_ExitTime: 0.25
m_ExitTime: 0.25000003
m_HasExitTime: 0
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1101 &1101794978738568648
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions:
- m_ConditionMode: 3
m_ConditionEvent: Speed
m_EventTreshold: 0.01
- m_ConditionMode: 2
m_ConditionEvent: isAirborn
m_EventTreshold: 0
- m_ConditionMode: 2
m_ConditionEvent: isJumping
m_EventTreshold: 0
- m_ConditionMode: 1
m_ConditionEvent: isGrounded
m_EventTreshold: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: 1102850552635528860}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.013376069
m_TransitionOffset: 0
m_ExitTime: 0.000000013331909
m_HasExitTime: 0
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1101 &1101816903702359894
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions:
- m_ConditionMode: 2
m_ConditionEvent: isGrounded
m_EventTreshold: 0
- m_ConditionMode: 1
m_ConditionEvent: isAirCharged
m_EventTreshold: 0
- m_ConditionMode: 1
m_ConditionEvent: isAirborn
m_EventTreshold: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: 1102464035099614428}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.0029761745
m_TransitionOffset: 0
m_ExitTime: 0.75
m_HasExitTime: 0
m_HasFixedDuration: 1
m_InterruptionSource: 0
......@@ -256,9 +441,34 @@ AnimatorStateTransition:
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.25
m_TransitionDuration: 0.012351662
m_TransitionOffset: 0
m_ExitTime: 0.75
m_ExitTime: 0.75000006
m_HasExitTime: 0
m_HasFixedDuration: 1
m_InterruptionSource: 0
m_OrderedInterruption: 1
m_CanTransitionToSelf: 1
--- !u!1101 &1101928243040857798
AnimatorStateTransition:
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name:
m_Conditions:
- m_ConditionMode: 1
m_ConditionEvent: isCharging
m_EventTreshold: 0
m_DstStateMachine: {fileID: 0}
m_DstState: {fileID: 1102386704323417118}
m_Solo: 0
m_Mute: 0
m_IsExit: 0
serializedVersion: 3
m_TransitionDuration: 0.002330685
m_TransitionOffset: 0
m_ExitTime: 0.75000036
m_HasExitTime: 0
m_HasFixedDuration: 1
m_InterruptionSource: 0
......@@ -285,7 +495,35 @@ AnimatorState:
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: 8b0442f4e7c74344d9be1bd2430cb562, type: 2}
m_Motion: {fileID: 7400000, guid: 320ef153a6dd341b195755f386003f7a, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter: isJumping
m_CycleOffsetParameter:
m_TimeParameter: Speed
--- !u!1102 &1102386704323417118
AnimatorState:
serializedVersion: 5
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Charge
m_Speed: 0.3
m_CycleOffset: 0
m_Transitions:
- {fileID: 1101059886698227582}
- {fileID: 1101436539703654216}
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: 9e33cdde89f154407b32b4735afa41f8, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
......@@ -299,7 +537,7 @@ AnimatorState:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Jump
m_Speed: 0.8
m_Speed: 0.4
m_CycleOffset: 0
m_Transitions:
- {fileID: 1101851187104618148}
......@@ -313,12 +551,40 @@ AnimatorState:
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: 5c579b168d0eb42c493f5226b501d78c, type: 2}
m_Motion: {fileID: 7400000, guid: 221d267e96aa14665b205e5fe655e35f, type: 2}
m_Tag:
m_SpeedParameter: Velocity
m_MirrorParameter:
m_CycleOffsetParameter: Speed
m_TimeParameter:
--- !u!1102 &1102464035099614428
AnimatorState:
serializedVersion: 5
m_ObjectHideFlags: 1
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Fly
m_Speed: 1
m_CycleOffset: 0
m_Transitions:
- {fileID: 1101794978738568648}
- {fileID: 1101581719191597248}
m_StateMachineBehaviours: []
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: 7e32c07f93e7245148bb79e10060a8a3, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1102 &1102520368784087144
AnimatorState:
serializedVersion: 5
......@@ -336,12 +602,12 @@ AnimatorState:
m_Position: {x: 50, y: 50, z: 0}
m_IKOnFeet: 0
m_WriteDefaultValues: 1
m_Mirror: 0
m_Mirror: 1
m_SpeedParameterActive: 0
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: 8b0442f4e7c74344d9be1bd2430cb562, type: 2}
m_Motion: {fileID: 7400000, guid: 320ef153a6dd341b195755f386003f7a, type: 2}
m_Tag:
m_SpeedParameter:
m_MirrorParameter:
......@@ -355,7 +621,7 @@ AnimatorState:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Run
m_Speed: 1
m_Speed: 0.5
m_CycleOffset: 0
m_Transitions:
- {fileID: 1101272815921876274}
......@@ -368,10 +634,10 @@ AnimatorState:
m_MirrorParameterActive: 0
m_CycleOffsetParameterActive: 0
m_TimeParameterActive: 0
m_Motion: {fileID: 7400000, guid: 61d8ccf0d78f99545ac761cbadc8e4c7, type: 2}
m_Motion: {fileID: 7400000, guid: 8ef31d024767c4ba483fe7e61f7f8890, type: 2}
m_Tag:
m_SpeedParameter: Speed
m_MirrorParameter:
m_MirrorParameter: isJumping
m_CycleOffsetParameter:
m_TimeParameter:
--- !u!1107 &1107411918608431926
......@@ -394,11 +660,19 @@ AnimatorStateMachine:
m_Position: {x: 36, y: 0, z: 0}
- serializedVersion: 1
m_State: {fileID: 1102520368784087144}
m_Position: {x: 36, y: 240, z: 0}
m_Position: {x: 0, y: 240, z: 0}
- serializedVersion: 1
m_State: {fileID: 1102464035099614428}
m_Position: {x: 24, y: -120, z: 0}
- serializedVersion: 1
m_State: {fileID: 1102386704323417118}
m_Position: {x: 240, y: 336, z: 0}
m_ChildStateMachines: []
m_AnyStateTransitions:
- {fileID: 1101222034008660088}
- {fileID: 1101075609259888222}
- {fileID: 1101928243040857798}
- {fileID: 1101816903702359894}
m_EntryTransitions: []
m_StateMachineTransitions: {}
m_StateMachineBehaviours: []
......
......@@ -17,21 +17,48 @@ AnimationClip:
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves: []
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: 21300000, guid: 31fd2b23c2eba4a02bf9622c26cda549, type: 3}
- time: 0.033333335
value: {fileID: 21300000, guid: 1beb536999e6c433cab277e1121ea155, type: 3}
- time: 0.06666667
value: {fileID: 21300000, guid: 28699c8d76fe049e7b650303719ed455, type: 3}
- time: 0.1
value: {fileID: 21300000, guid: ad25405e809f94925bdaa0c87c1ebc78, type: 3}
- time: 0.13333334
value: {fileID: 21300000, guid: aacbf421a5a3741cea055dfcae2361af, type: 3}
attribute: m_Sprite
path:
classID: 212
script: {fileID: 0}
m_SampleRate: 60
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings: []
pptrCurveMapping: []
genericBindings:
- serializedVersion: 2
path: 0
attribute: 0
script: {fileID: 0}
typeID: 212
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: 21300000, guid: 31fd2b23c2eba4a02bf9622c26cda549, type: 3}
- {fileID: 21300000, guid: 1beb536999e6c433cab277e1121ea155, type: 3}
- {fileID: 21300000, guid: 28699c8d76fe049e7b650303719ed455, type: 3}
- {fileID: 21300000, guid: ad25405e809f94925bdaa0c87c1ebc78, type: 3}
- {fileID: 21300000, guid: aacbf421a5a3741cea055dfcae2361af, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 1
m_StopTime: 0.15
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
......
......@@ -17,21 +17,60 @@ AnimationClip:
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves: []
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: 21300000, guid: 23e91ae877bbb40e2bedff0290eb2ba0, type: 3}
- time: 0.033333335
value: {fileID: 21300000, guid: 1c6737bce6b994a1e9a3b7318bf0d247, type: 3}
- time: 0.06666667
value: {fileID: 21300000, guid: 615a46e41037149a0b12e9e72d07fe36, type: 3}
- time: 0.1
value: {fileID: 21300000, guid: 57cbd05ddf409447ab02733e77d92e4b, type: 3}
- time: 0.13333334
value: {fileID: 21300000, guid: 1c65ae43fad82426fbfe6b22a135ed3b, type: 3}
- time: 0.16666667
value: {fileID: 21300000, guid: 6acf1eaac33cb436fb7bb6603297e6bf, type: 3}
- time: 0.2
value: {fileID: 21300000, guid: 1dcf0411fd21a41708da0831d7808e6e, type: 3}
- time: 0.23333333
value: {fileID: 21300000, guid: 3de52884c99ed458ab6f66d6ef1465ec, type: 3}
- time: 0.26666668
value: {fileID: 21300000, guid: e7eeb3b81c1cb4ac7b3268296143f0bd, type: 3}
attribute: m_Sprite
path:
classID: 212
script: {fileID: 0}
m_SampleRate: 60
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}
m_ClipBindingConstant:
genericBindings: []
pptrCurveMapping: []
genericBindings:
- serializedVersion: 2
path: 0
attribute: 0
script: {fileID: 0}
typeID: 212
customType: 23
isPPtrCurve: 1
pptrCurveMapping:
- {fileID: 21300000, guid: 23e91ae877bbb40e2bedff0290eb2ba0, type: 3}
- {fileID: 21300000, guid: 1c6737bce6b994a1e9a3b7318bf0d247, type: 3}
- {fileID: 21300000, guid: 615a46e41037149a0b12e9e72d07fe36, type: 3}
- {fileID: 21300000, guid: 57cbd05ddf409447ab02733e77d92e4b, type: 3}
- {fileID: 21300000, guid: 1c65ae43fad82426fbfe6b22a135ed3b, type: 3}
- {fileID: 21300000, guid: 6acf1eaac33cb436fb7bb6603297e6bf, type: 3}
- {fileID: 21300000, guid: 1dcf0411fd21a41708da0831d7808e6e, type: 3}
- {fileID: 21300000, guid: 3de52884c99ed458ab6f66d6ef1465ec, type: 3}
- {fileID: 21300000, guid: e7eeb3b81c1cb4ac7b3268296143f0bd, type: 3}
m_AnimationClipSettings:
serializedVersion: 2
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 1
m_StopTime: 0.28333336
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
......
......@@ -17,21 +17,42 @@ AnimationClip:
m_PositionCurves: []
m_ScaleCurves: []
m_FloatCurves: []
m_PPtrCurves: []
m_PPtrCurves:
- curve:
- time: 0
value: {fileID: 21300000, guid: 3bcb78836dd2a48978f0accd1d2cf816, type: 3}
- time: 0.033333335
value: {fileID: 21300000, guid: f3c2da02c866342ea82d78c70208c2bb, type: 3}
- time: 0.06666667
value: {fileID: 21300000, guid: f81e4126eebc046f1a0404a0a0c07c75, type: 3}
attribute: m_Sprite
path:
classID: 212
script: {fileID: 0}
m_SampleRate: 60
m_WrapMode: 0
m_Bounds:
m_Center: {x: 0, y: 0, z: 0}
m_Extent: {x: 0, y: 0, z: 0}