Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BattleMuscle
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
czy
BattleMuscle
Commits
d98d53a5
Commit
d98d53a5
authored
May 08, 2021
by
czy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Idle动画
parent
f876149f
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
1244 additions
and
11 deletions
+1244
-11
Idle.anim
...cle/Assets/Art_Assets/Animation/Animation/Fight/Idle.anim
+1045
-0
Idle.anim.meta
...ssets/Art_Assets/Animation/Animation/Fight/Idle.anim.meta
+8
-0
Running3.controller
...Assets/Art_Assets/Animation/Animation/Running3.controller
+84
-3
Idle.fbx
BattleMuscle/Assets/Art_Assets/Animation/Fight/Idle.fbx
+0
-0
Idle.fbx.meta
BattleMuscle/Assets/Art_Assets/Animation/Fight/Idle.fbx.meta
+99
-0
Level 1.unity
BattleMuscle/Assets/Levels/Level 1.unity
+4
-4
AvatarPunch.mask
BattleMuscle/Assets/My/Avatar/AvatarPunch.mask
+1
-1
AttackTrigger.cs
BattleMuscle/Assets/My/Scripts/Player/AttackTrigger.cs
+3
-3
No files found.
BattleMuscle/Assets/Art_Assets/Animation/Animation/Fight/Idle.anim
0 → 100644
View file @
d98d53a5
This diff is collapsed.
Click to expand it.
BattleMuscle/Assets/Art_Assets/Animation/Animation/Fight/Idle.anim.meta
0 → 100644
View file @
d98d53a5
fileFormatVersion: 2
guid: ee242bb4bb7f631408dbca2d01b22fd7
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 0
userData:
assetBundleName:
assetBundleVariant:
BattleMuscle/Assets/Art_Assets/Animation/Animation/Running3.controller
View file @
d98d53a5
%YAML
1.1
%TAG
!u!
tag:unity3d.com,2011:
---
!u!1101
&-9082746662903045195
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
:
MoveSpeed
m_EventTreshold
:
0.2
m_DstStateMachine
:
{
fileID
:
0
}
m_DstState
:
{
fileID
:
2643154680664092511
}
m_Solo
:
0
m_Mute
:
0
m_IsExit
:
0
serializedVersion
:
3
m_TransitionDuration
:
0.25
m_TransitionOffset
:
0
m_ExitTime
:
0.6428572
m_HasExitTime
:
1
m_HasFixedDuration
:
1
m_InterruptionSource
:
0
m_OrderedInterruption
:
1
m_CanTransitionToSelf
:
1
---
!u!1107
&-8002753567531812254
AnimatorStateMachine
:
serializedVersion
:
5
...
...
@@ -18,16 +43,19 @@ AnimatorStateMachine:
-
serializedVersion
:
1
m_State
:
{
fileID
:
8650196453075220448
}
m_Position
:
{
x
:
270
,
y
:
110
,
z
:
0
}
-
serializedVersion
:
1
m_State
:
{
fileID
:
2643154680664092511
}
m_Position
:
{
x
:
270
,
y
:
-40
,
z
:
0
}
m_ChildStateMachines
:
[]
m_AnyStateTransitions
:
[]
m_EntryTransitions
:
[]
m_StateMachineTransitions
:
{}
m_StateMachineBehaviours
:
[]
m_AnyStatePosition
:
{
x
:
50
,
y
:
2
0
,
z
:
0
}
m_EntryPosition
:
{
x
:
30
,
y
:
11
0
,
z
:
0
}
m_AnyStatePosition
:
{
x
:
290
,
y
:
-24
0
,
z
:
0
}
m_EntryPosition
:
{
x
:
290
,
y
:
-15
0
,
z
:
0
}
m_ExitPosition
:
{
x
:
800
,
y
:
120
,
z
:
0
}
m_ParentStateMachinePosition
:
{
x
:
800
,
y
:
20
,
z
:
0
}
m_DefaultState
:
{
fileID
:
8650196453075220448
}
m_DefaultState
:
{
fileID
:
2643154680664092511
}
---
!u!1102
&-6395521626096649654
AnimatorState
:
serializedVersion
:
5
...
...
@@ -303,6 +331,33 @@ AnimatorState:
m_MirrorParameter
:
m_CycleOffsetParameter
:
m_TimeParameter
:
---
!u!1102
&2643154680664092511
AnimatorState
:
serializedVersion
:
5
m_ObjectHideFlags
:
1
m_CorrespondingSourceObject
:
{
fileID
:
0
}
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_Name
:
Idle
m_Speed
:
1
m_CycleOffset
:
0
m_Transitions
:
-
{
fileID
:
5593949960568456529
}
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
:
ee242bb4bb7f631408dbca2d01b22fd7
,
type
:
2
}
m_Tag
:
m_SpeedParameter
:
m_MirrorParameter
:
m_CycleOffsetParameter
:
m_TimeParameter
:
---
!u!1109
&3922334392854341659
AnimatorTransition
:
m_ObjectHideFlags
:
1
...
...
@@ -389,6 +444,31 @@ AnimatorStateTransition:
m_InterruptionSource
:
0
m_OrderedInterruption
:
1
m_CanTransitionToSelf
:
1
---
!u!1101
&5593949960568456529
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
:
MoveSpeed
m_EventTreshold
:
0.2
m_DstStateMachine
:
{
fileID
:
0
}
m_DstState
:
{
fileID
:
8650196453075220448
}
m_Solo
:
0
m_Mute
:
0
m_IsExit
:
0
serializedVersion
:
3
m_TransitionDuration
:
0.25
m_TransitionOffset
:
0
m_ExitTime
:
0.87288135
m_HasExitTime
:
0
m_HasFixedDuration
:
1
m_InterruptionSource
:
0
m_OrderedInterruption
:
1
m_CanTransitionToSelf
:
1
---
!u!1102
&6534431720261202067
AnimatorState
:
serializedVersion
:
5
...
...
@@ -479,6 +559,7 @@ AnimatorState:
m_Transitions
:
-
{
fileID
:
5239871436706073785
}
-
{
fileID
:
8735242791962041930
}
-
{
fileID
:
-9082746662903045195
}
m_StateMachineBehaviours
:
[]
m_Position
:
{
x
:
50
,
y
:
50
,
z
:
0
}
m_IKOnFeet
:
1
...
...
BattleMuscle/Assets/Art_Assets/Animation/Fight/Idle.fbx
0 → 100644
View file @
d98d53a5
File added
BattleMuscle/Assets/Art_Assets/Animation/Fight/Idle.fbx.meta
0 → 100644
View file @
d98d53a5
fileFormatVersion: 2
guid: fe8f5a1debaef4d4583b91751b995e7b
ModelImporter:
serializedVersion: 19300
internalIDToNameTable:
- first:
74: -203655887218126122
second: mixamo.com
externalObjects: {}
materials:
materialImportMode: 1
materialName: 0
materialSearch: 1
materialLocation: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
optimizeGameObjects: 0
motionNodeName:
rigImportErrors:
rigImportWarnings:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0
importConstraints: 0
animationCompression: 1
animationRotationError: 0.5
animationPositionError: 0.5
animationScaleError: 0.5
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations: []
isReadable: 0
meshes:
lODScreenPercentages: []
globalScale: 1
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1
sortHierarchyByName: 1
importVisibility: 1
importBlendShapes: 1
importCameras: 1
importLights: 1
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
keepQuads: 0
weldVertices: 1
preserveHierarchy: 0
skinWeightsMode: 0
maxBonesPerVertex: 4
minBoneWeight: 0.001
meshOptimizationFlags: -1
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVPackMargin: 4
useFileScale: 1
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1
normalSmoothingSource: 0
referencedClips: []
importAnimation: 1
humanDescription:
serializedVersion: 3
human: []
skeleton: []
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
legTwist: 0.5
armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
globalScale: 1
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 0
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
autoGenerateAvatarMappingIfUnspecified: 1
animationType: 2
humanoidOversampling: 1
avatarSetup: 0
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:
BattleMuscle/Assets/Levels/Level 1.unity
View file @
d98d53a5
...
...
@@ -162,8 +162,8 @@ Transform:
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
27030757
}
m_LocalRotation
:
{
x
:
0
,
y
:
0
,
z
:
0
,
w
:
1
}
m_LocalPosition
:
{
x
:
0
,
y
:
1.35
,
z
:
1.26
}
m_LocalScale
:
{
x
:
1
,
y
:
1.84
,
z
:
1.14
}
m_LocalPosition
:
{
x
:
-0.000000045737
,
y
:
1.35
,
z
:
1.26
}
m_LocalScale
:
{
x
:
1
.8837
,
y
:
1.84
,
z
:
1.9631765
}
m_Children
:
[]
m_Father
:
{
fileID
:
883198006
}
m_RootOrder
:
1
...
...
@@ -327,7 +327,7 @@ Transform:
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
44004332
}
m_LocalRotation
:
{
x
:
0.2816947
,
y
:
-0.08886128
,
z
:
0.026210686
,
w
:
0.9550209
}
m_LocalRotation
:
{
x
:
0.2816947
4
,
y
:
-0.08886128
,
z
:
0.026210684
,
w
:
0.95502084
}
m_LocalPosition
:
{
x
:
0
,
y
:
0
,
z
:
-13.099998
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_Children
:
...
...
@@ -2227,7 +2227,7 @@ Transform:
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_GameObject
:
{
fileID
:
1001386389
}
m_LocalRotation
:
{
x
:
0.2816947
,
y
:
-0.08886128
,
z
:
0.026210686
,
w
:
0.9550209
}
m_LocalRotation
:
{
x
:
0.2816947
4
,
y
:
-0.08886128
,
z
:
0.026210684
,
w
:
0.95502084
}
m_LocalPosition
:
{
x
:
4.5559893
,
y
:
17.040298
,
z
:
-24.270386
}
m_LocalScale
:
{
x
:
1
,
y
:
1
,
z
:
1
}
m_Children
:
[]
...
...
BattleMuscle/Assets/My/Avatar/AvatarPunch.mask
View file @
d98d53a5
...
...
@@ -7,7 +7,7 @@ AvatarMask:
m_PrefabInstance
:
{
fileID
:
0
}
m_PrefabAsset
:
{
fileID
:
0
}
m_Name
:
AvatarPunch
m_Mask
:
000000000
000000000
00000000000000000000000100000001000000010000000100000000000000000000000100000001000000
m_Mask
:
000000000
100000001
00000000000000000000000100000001000000010000000100000000000000000000000100000001000000
m_Elements
:
-
m_Path
:
m_Weight
:
1
...
...
BattleMuscle/Assets/My/Scripts/Player/AttackTrigger.cs
View file @
d98d53a5
...
...
@@ -36,16 +36,16 @@ public class AttackTrigger : MonoBehaviour
private
void
OnTriggerExit
(
Collider
other
)
{
print
(
other
.
name
);
if
(
other
.
tag
==
"
Wall
"
)
if
(
other
.
tag
==
"
Competitor
"
)
{
Punch
=
false
;
animator
.
SetBool
(
"Punch"
,
Punch
);
animator
.
SetLayerWeight
(
1
,
0
);
}
else
if
(
other
.
tag
==
"
Competitor
"
)
}
else
if
(
other
.
tag
==
"
Wall
"
)
{
Push
=
false
;
animator
.
SetBool
(
"Push"
,
Push
);
animator
.
SetLayerWeight
(
1
,
1
);
animator
.
SetLayerWeight
(
1
,
0
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment