animations refactor

This commit is contained in:
2025-08-04 09:33:19 +02:00
parent 064268e049
commit c17ce42700
32 changed files with 1791 additions and 1207 deletions

View File

@@ -598,7 +598,8 @@ GameObject:
- component: {fileID: 7761779135599839476}
- component: {fileID: -6995192488338000116}
- component: {fileID: 7282522638044830840}
- component: {fileID: 2402344678768307677}
- component: {fileID: 4018164798333520760}
- component: {fileID: 3871962590503854066}
- component: {fileID: 3351589437949293952}
- component: {fileID: 3055557605397218987}
- component: {fileID: 447378847805683535}
@@ -626,6 +627,7 @@ Transform:
- {fileID: 6151351464099511810}
- {fileID: 639102448347793678}
- {fileID: 6286051764664211472}
- {fileID: 370165757915362222}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &-6995192488338000116
@@ -661,7 +663,7 @@ MonoBehaviour:
root: {fileID: 3163379227286582809}
localPosition: {x: 0, y: 0, z: 0}
localRotation: {x: 0, y: 0, z: 0, w: 0}
m_Animator: {fileID: 134164689146528362}
m_PlayerAnimator: {fileID: 4018164798333520760}
m_Locomotion: {fileID: 3055557605397218987}
m_Camera: {fileID: 7282522638044830840}
m_CameraSpring: {fileID: 2863764702303138330}
@@ -695,6 +697,7 @@ MonoBehaviour:
m_ItemPickupDistance: 4
m_InventorySize: 10
m_StartChargeDelay: 0.15
m_QuickAttackComboMaxDelay: 1
--- !u!114 &7282522638044830840
MonoBehaviour:
m_ObjectHideFlags: 0
@@ -721,7 +724,7 @@ MonoBehaviour:
m_PickLayer:
serializedVersion: 2
m_Bits: 0
--- !u!114 &2402344678768307677
--- !u!114 &4018164798333520760
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@@ -730,13 +733,89 @@ MonoBehaviour:
m_GameObject: {fileID: 6086846679135428685}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 8498955cf5ff17145aa4bbd96edd8ca6, type: 3}
m_Script: {fileID: 11500000, guid: 00a9f9c2ce4a41fdaadcfb24c4233127, type: 3}
m_Name:
m_EditorClassIdentifier:
<DampingFactor>k__BackingField: 1
<AngularSlowdown>k__BackingField: 90
<DragForce>k__BackingField: 50
<TargetWorldPosition>k__BackingField: {x: 0, y: 0, z: 0}
m_ReAnimator: {fileID: 3871962590503854066}
onQuickAttackFinished:
m_PersistentCalls:
m_Calls: []
--- !u!114 &3871962590503854066
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6086846679135428685}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 960522ea44ce4513aea34826f00bc19c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Animator: {fileID: 134164689146528362}
m_Layers:
- name: Base
mask: {fileID: 0}
isAdditive: 0
weight: 1
root:
rid: 8982226128795598937
- name: Hands
mask: {fileID: 31900000, guid: fbfe6297a08a01143870b7dfbc34f046, type: 2}
isAdditive: 0
weight: 1
root:
rid: 8982226128795598943
references:
version: 2
RefIds:
- rid: 8982226128795598937
type: {class: MixerNode, ns: RebootKit.Engine.Animations, asm: RebootKit.Engine}
data:
<Name>k__BackingField: locomotion_root
m_TransitionSpeed: 5
m_Inputs:
- node:
rid: 8982226128795598939
targetWeight: 1
- node:
rid: 8982226128795598938
targetWeight: 0
- rid: 8982226128795598938
type: {class: AnimationClipNode, ns: RebootKit.Engine.Animations, asm: RebootKit.Engine}
data:
<Name>k__BackingField: locomotion_air
Clip: {fileID: -203655887218126122, guid: 9c384b0c7d362af4c9743bfcba1938ad, type: 3}
- rid: 8982226128795598939
type: {class: BlendTree2DNode, ns: RebootKit.Engine.Animations, asm: RebootKit.Engine}
data:
<Name>k__BackingField: locomotion_ground
m_Entries:
- clip: {fileID: -3100369314251171874, guid: e74130c49b009364f90d176af44766be, type: 3}
direction:
x: 0
y: 0
- clip: {fileID: 5522812681064789136, guid: e74130c49b009364f90d176af44766be, type: 3}
direction:
x: 0
y: 1
- clip: {fileID: -203655887218126122, guid: b3866b602d1016147b919bcff3918f1b, type: 3}
direction:
x: 0
y: -1
- clip: {fileID: -203655887218126122, guid: fba537a9366240d4fa665a7a77add245, type: 3}
direction:
x: 1
y: 0
- clip: {fileID: -203655887218126122, guid: adb18eaaff5216c47a5ae86f43e54f58, type: 3}
direction:
x: -1
y: 0
m_TransitionSpeed: 5
- rid: 8982226128795598943
type: {class: CharacterHandsReAnimatorNode, ns: RebootReality.jelycho.Player, asm: RebootReality.jelycho}
data:
<Name>k__BackingField: hands
--- !u!54 &3351589437949293952
Rigidbody:
m_ObjectHideFlags: 0
@@ -1093,6 +1172,135 @@ MonoBehaviour:
x: 1
y: 1
z: 1
--- !u!1 &8014183807427120021
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 370165757915362222}
- component: {fileID: 240021329734776060}
m_Layer: 7
m_Name: asrc_footstep
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &370165757915362222
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8014183807427120021}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 7761779135599839476}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!82 &240021329734776060
AudioSource:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 8014183807427120021}
m_Enabled: 1
serializedVersion: 4
OutputAudioMixerGroup: {fileID: -7246246608557242452, guid: 95a6b2fae6891e9428abd9f1d02ef54d, type: 2}
m_audioClip: {fileID: 8300000, guid: 5716155335402be4393584059b4ff19d, type: 3}
m_Resource: {fileID: 8300000, guid: 5716155335402be4393584059b4ff19d, type: 3}
m_PlayOnAwake: 0
m_Volume: 1
m_Pitch: 1
Loop: 0
Mute: 0
Spatialize: 0
SpatializePostEffects: 0
Priority: 128
DopplerLevel: 1
MinDistance: 1
MaxDistance: 500
Pan2D: 0
rolloffMode: 0
BypassEffects: 0
BypassListenerEffects: 0
BypassReverbZones: 0
rolloffCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
panLevelCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
spreadCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 0
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
reverbZoneMixCustomCurve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 1
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
--- !u!1 &9111957051878017424
GameObject:
m_ObjectHideFlags: 0
@@ -1531,7 +1739,7 @@ PrefabInstance:
- target: {fileID: 5866666021909216657, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: m_Controller
value:
objectReference: {fileID: 9100000, guid: f7b8f7f03b734c941bc4ea64be7b74a2, type: 2}
objectReference: {fileID: 0}
- target: {fileID: 5866666021909216657, guid: e74130c49b009364f90d176af44766be, type: 3}
propertyPath: m_CullingMode
value: 0
@@ -1670,6 +1878,9 @@ PrefabInstance:
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: e74130c49b009364f90d176af44766be, type: 3}
insertIndex: -1
addedObject: {fileID: 970301518860157954}
- targetCorrespondingSourceObject: {fileID: 919132149155446097, guid: e74130c49b009364f90d176af44766be, type: 3}
insertIndex: -1
addedObject: {fileID: 7314547187707059881}
m_SourcePrefab: {fileID: 100100000, guid: e74130c49b009364f90d176af44766be, type: 3}
--- !u!4 &66317331002764483 stripped
Transform:
@@ -1963,6 +2174,19 @@ MonoBehaviour:
- {fileID: 2068533699126522145}
- {fileID: 6397084889486252423}
- {fileID: 8705332754554382675}
--- !u!114 &7314547187707059881
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 6662893589094679210}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fd9bb0d58ecf466d8fe6d4cd19b51e5c, type: 3}
m_Name:
m_EditorClassIdentifier:
m_AudioSource: {fileID: 240021329734776060}
--- !u!4 &6838474578007745101 stripped
Transform:
m_CorrespondingSourceObject: {fileID: -8191740002585371210, guid: e74130c49b009364f90d176af44766be, type: 3}