Files
UmaViewer/Assets/Plugins/RootMotion/PuppetMaster/Prefabs/Behaviours/Puppet.prefab
T
2023-07-16 13:12:16 +08:00

249 lines
6.2 KiB
Plaintext

%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &167430
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 444240}
- component: {fileID: 11466454}
m_Layer: 8
m_Name: Puppet
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!4 &444240
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 167430}
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_Children: []
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!114 &11466454
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 167430}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 1efacf79ab4214e85aeebfd07064c20f, type: 3}
m_Name:
m_EditorClassIdentifier:
puppetMaster: {fileID: 0}
deactivated: 0
masterProps:
normalMode: 1
mappingBlendSpeed: 15
activateOnStaticCollisions: 0
activateOnImpulse: 0
groundLayers:
serializedVersion: 2
m_Bits: 16
collisionLayers:
serializedVersion: 2
m_Bits: 3
collisionThreshold: 0
collisionResistance:
mode: 0
floatValue: 700
curve:
serializedVersion: 2
m_Curve:
- serializedVersion: 3
time: 0
value: 56.68847
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 5.1236973
value: 140.30418
inSlope: 0
outSlope: 0
tangentMode: 0
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
tooltip: Smaller value means more unpinning from collisions so the characters
get knocked out more easily. If using a curve, the value will be evaluated
by each muscle's target velocity magnitude. This can be used to make collision
resistance higher while the character moves or animates faster.
collisionResistanceMultipliers: []
maxCollisions: 30
regainPinSpeed: 1
boostFalloff: 1
defaults:
unpinParents: 0.9
unpinChildren: 0.9
unpinGroup: 0
minMappingWeight: 0
maxMappingWeight: 1
minPinWeight: 0
disableColliders: 0
regainPinSpeed: 1
collisionResistance: 1
knockOutDistance: 1
puppetMaterial: {fileID: 13400000, guid: a3fd0ffcf0d0a384ba3568687a96ab8e, type: 2}
unpinnedMaterial: {fileID: 13400000, guid: d4563de398e2c4412a95f4317ddf4b1a, type: 2}
groupOverrides:
- name: Head
groups: 02000000
props:
unpinParents: 0.9
unpinChildren: 0
unpinGroup: 0
minMappingWeight: 0
maxMappingWeight: 1
minPinWeight: 0
disableColliders: 0
regainPinSpeed: 1
collisionResistance: 1
knockOutDistance: 0.6
puppetMaterial: {fileID: 0}
unpinnedMaterial: {fileID: 0}
- name: Arm, Hand, Prop
groups: 030000000400000008000000
props:
unpinParents: 0.5
unpinChildren: 1
unpinGroup: 0
minMappingWeight: 0
maxMappingWeight: 1
minPinWeight: 0
disableColliders: 0
regainPinSpeed: 1
collisionResistance: 1
knockOutDistance: 100
puppetMaterial: {fileID: 0}
unpinnedMaterial: {fileID: 0}
- name: Hips, Leg
groups: 0000000005000000
props:
unpinParents: 0.9
unpinChildren: 1
unpinGroup: 0
minMappingWeight: 0
maxMappingWeight: 1
minPinWeight: 0
disableColliders: 0
regainPinSpeed: 1.5
collisionResistance: 1
knockOutDistance: 0.6
puppetMaterial: {fileID: 0}
unpinnedMaterial: {fileID: 0}
- name: Foot
groups: 06000000
props:
unpinParents: 1
unpinChildren: 0
unpinGroup: 0
minMappingWeight: 0
maxMappingWeight: 1
minPinWeight: 0
disableColliders: 0
regainPinSpeed: 2
collisionResistance: 1
knockOutDistance: 0.6
puppetMaterial: {fileID: 0}
unpinnedMaterial: {fileID: 0}
- name: Prop
groups: 08000000
props:
unpinParents: 0.5
unpinChildren: 1
unpinGroup: 0
minMappingWeight: 1
maxMappingWeight: 1
minPinWeight: 0
disableColliders: 0
regainPinSpeed: 4
collisionResistance: 1
knockOutDistance: 100
puppetMaterial: {fileID: 0}
unpinnedMaterial: {fileID: 0}
knockOutDistance: 1.5
unpinnedMuscleWeightMlp: 0.4
maxRigidbodyVelocity: 10
pinWeightThreshold: 1
unpinnedMuscleKnockout: 1
dropProps: 0
canGetUp: 1
getUpDelay: 1
blendToAnimationTime: 0.3
maxGetUpVelocity: 0.4
minGetUpDuration: 1.5
getUpCollisionResistanceMlp: 2
getUpRegainPinSpeedMlp: 1
getUpKnockOutDistanceMlp: 1
getUpOffsetProne: {x: 0, y: 0, z: 0}
getUpOffsetSupine: {x: 0, y: 0, z: 0}
onGetUpProne:
switchToBehaviour:
animations:
- animationState: GetUpProne
crossfadeTime: 0.2
layer: 0
resetNormalizedTime: 1
unityEvent:
m_PersistentCalls:
m_Calls: []
onGetUpSupine:
switchToBehaviour:
animations:
- animationState: GetUpSupine
crossfadeTime: 0.2
layer: 0
resetNormalizedTime: 1
unityEvent:
m_PersistentCalls:
m_Calls: []
onLoseBalance:
switchToBehaviour:
animations:
- animationState: Fall
crossfadeTime: 0.7
layer: 0
resetNormalizedTime: 0
unityEvent:
m_PersistentCalls:
m_Calls: []
onLoseBalanceFromPuppet:
switchToBehaviour:
animations: []
unityEvent:
m_PersistentCalls:
m_Calls: []
onLoseBalanceFromGetUp:
switchToBehaviour:
animations: []
unityEvent:
m_PersistentCalls:
m_Calls: []
onRegainBalance:
switchToBehaviour:
animations: []
unityEvent:
m_PersistentCalls:
m_Calls: []
canMoveTarget: 1