mirror of
https://github.com/bdunderscore/modular-avatar.git
synced 2025-04-06 20:48:59 +08:00
* feat: support merging humanoid bones with PBs in limited cases This change adds support for merging humanoid bones that are a target of PhysBones, provided that all humanoid children are excluded from that PhysBone (either with a direct ignores field, or using PB Blocker). Note: Because this is a significant expansion of support, this will need to wait for a minor release to maintain semver semantics. Closes: #1406
452 lines
12 KiB
Plaintext
452 lines
12 KiB
Plaintext
%YAML 1.1
|
|
%TAG !u! tag:unity3d.com,2011:
|
|
--- !u!1 &2498125727964202215
|
|
GameObject:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
serializedVersion: 6
|
|
m_Component:
|
|
- component: {fileID: 8637901343924930275}
|
|
m_Layer: 0
|
|
m_Name: UpperLeg.R
|
|
m_TagString: Untagged
|
|
m_Icon: {fileID: 0}
|
|
m_NavMeshLayer: 0
|
|
m_StaticEditorFlags: 0
|
|
m_IsActive: 1
|
|
--- !u!4 &8637901343924930275
|
|
Transform:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 2498125727964202215}
|
|
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: 2425011545215011340}
|
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
--- !u!1 &5171819189215563704
|
|
GameObject:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
serializedVersion: 6
|
|
m_Component:
|
|
- component: {fileID: 5460633315343405867}
|
|
m_Layer: 0
|
|
m_Name: Spine
|
|
m_TagString: Untagged
|
|
m_Icon: {fileID: 0}
|
|
m_NavMeshLayer: 0
|
|
m_StaticEditorFlags: 0
|
|
m_IsActive: 1
|
|
--- !u!4 &5460633315343405867
|
|
Transform:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 5171819189215563704}
|
|
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: 2425011545215011340}
|
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
--- !u!1 &5183706771555486972
|
|
GameObject:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
serializedVersion: 6
|
|
m_Component:
|
|
- component: {fileID: 696974841882562921}
|
|
m_Layer: 0
|
|
m_Name: New Child
|
|
m_TagString: Untagged
|
|
m_Icon: {fileID: 0}
|
|
m_NavMeshLayer: 0
|
|
m_StaticEditorFlags: 0
|
|
m_IsActive: 1
|
|
--- !u!4 &696974841882562921
|
|
Transform:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 5183706771555486972}
|
|
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: 2425011545215011340}
|
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
--- !u!1 &5761571479978658530
|
|
GameObject:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
serializedVersion: 6
|
|
m_Component:
|
|
- component: {fileID: 3658090810984334700}
|
|
- component: {fileID: 8534621584560104554}
|
|
m_Layer: 0
|
|
m_Name: ToMerge
|
|
m_TagString: Untagged
|
|
m_Icon: {fileID: 0}
|
|
m_NavMeshLayer: 0
|
|
m_StaticEditorFlags: 0
|
|
m_IsActive: 1
|
|
--- !u!4 &3658090810984334700
|
|
Transform:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 5761571479978658530}
|
|
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:
|
|
- {fileID: 2425011545215011340}
|
|
m_Father: {fileID: 6625593713945014388}
|
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
--- !u!114 &8534621584560104554
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 5761571479978658530}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 11500000, guid: 2df373bf91cf30b4bbd495e11cb1a2ec, type: 3}
|
|
m_Name:
|
|
m_EditorClassIdentifier:
|
|
mergeTarget:
|
|
referencePath: Armature
|
|
targetObject: {fileID: 6625593713945439624}
|
|
prefix:
|
|
suffix:
|
|
legacyLocked: 0
|
|
LockMode: 2
|
|
mangleNames: 1
|
|
--- !u!1 &8318249430048328751
|
|
GameObject:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
serializedVersion: 6
|
|
m_Component:
|
|
- component: {fileID: 2425011545215011340}
|
|
- component: {fileID: 116145570166396143}
|
|
m_Layer: 0
|
|
m_Name: Hips
|
|
m_TagString: Untagged
|
|
m_Icon: {fileID: 0}
|
|
m_NavMeshLayer: 0
|
|
m_StaticEditorFlags: 0
|
|
m_IsActive: 1
|
|
--- !u!4 &2425011545215011340
|
|
Transform:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 8318249430048328751}
|
|
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:
|
|
- {fileID: 5460633315343405867}
|
|
- {fileID: 3260084934125770558}
|
|
- {fileID: 8637901343924930275}
|
|
- {fileID: 696974841882562921}
|
|
m_Father: {fileID: 3658090810984334700}
|
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
--- !u!114 &116145570166396143
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 8318249430048328751}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 1661641543, guid: 2a2c05204084d904aa4945ccff20d8e5, type: 3}
|
|
m_Name:
|
|
m_EditorClassIdentifier:
|
|
foldout_transforms: 1
|
|
foldout_forces: 1
|
|
foldout_collision: 1
|
|
foldout_stretchsquish: 1
|
|
foldout_limits: 1
|
|
foldout_grabpose: 1
|
|
foldout_options: 1
|
|
foldout_gizmos: 0
|
|
version: 1
|
|
integrationType: 0
|
|
rootTransform: {fileID: 0}
|
|
ignoreTransforms: []
|
|
endpointPosition: {x: 0, y: 0, z: 0}
|
|
multiChildType: 0
|
|
pull: 0.2
|
|
pullCurve:
|
|
serializedVersion: 2
|
|
m_Curve: []
|
|
m_PreInfinity: 2
|
|
m_PostInfinity: 2
|
|
m_RotationOrder: 4
|
|
spring: 0.2
|
|
springCurve:
|
|
serializedVersion: 2
|
|
m_Curve: []
|
|
m_PreInfinity: 2
|
|
m_PostInfinity: 2
|
|
m_RotationOrder: 4
|
|
stiffness: 0.2
|
|
stiffnessCurve:
|
|
serializedVersion: 2
|
|
m_Curve: []
|
|
m_PreInfinity: 2
|
|
m_PostInfinity: 2
|
|
m_RotationOrder: 4
|
|
gravity: 0
|
|
gravityCurve:
|
|
serializedVersion: 2
|
|
m_Curve: []
|
|
m_PreInfinity: 2
|
|
m_PostInfinity: 2
|
|
m_RotationOrder: 4
|
|
gravityFalloff: 0
|
|
gravityFalloffCurve:
|
|
serializedVersion: 2
|
|
m_Curve: []
|
|
m_PreInfinity: 2
|
|
m_PostInfinity: 2
|
|
m_RotationOrder: 4
|
|
immobileType: 0
|
|
immobile: 0
|
|
immobileCurve:
|
|
serializedVersion: 2
|
|
m_Curve: []
|
|
m_PreInfinity: 2
|
|
m_PostInfinity: 2
|
|
m_RotationOrder: 4
|
|
allowCollision: 1
|
|
collisionFilter:
|
|
allowSelf: 1
|
|
allowOthers: 1
|
|
radius: 0
|
|
radiusCurve:
|
|
serializedVersion: 2
|
|
m_Curve: []
|
|
m_PreInfinity: 2
|
|
m_PostInfinity: 2
|
|
m_RotationOrder: 4
|
|
colliders: []
|
|
limitType: 0
|
|
maxAngleX: 45
|
|
maxAngleXCurve:
|
|
serializedVersion: 2
|
|
m_Curve: []
|
|
m_PreInfinity: 2
|
|
m_PostInfinity: 2
|
|
m_RotationOrder: 4
|
|
maxAngleZ: 45
|
|
maxAngleZCurve:
|
|
serializedVersion: 2
|
|
m_Curve: []
|
|
m_PreInfinity: 2
|
|
m_PostInfinity: 2
|
|
m_RotationOrder: 4
|
|
limitRotation: {x: 0, y: 0, z: 0}
|
|
limitRotationXCurve:
|
|
serializedVersion: 2
|
|
m_Curve: []
|
|
m_PreInfinity: 2
|
|
m_PostInfinity: 2
|
|
m_RotationOrder: 4
|
|
limitRotationYCurve:
|
|
serializedVersion: 2
|
|
m_Curve: []
|
|
m_PreInfinity: 2
|
|
m_PostInfinity: 2
|
|
m_RotationOrder: 4
|
|
limitRotationZCurve:
|
|
serializedVersion: 2
|
|
m_Curve: []
|
|
m_PreInfinity: 2
|
|
m_PostInfinity: 2
|
|
m_RotationOrder: 4
|
|
allowGrabbing: 1
|
|
grabFilter:
|
|
allowSelf: 1
|
|
allowOthers: 1
|
|
allowPosing: 1
|
|
poseFilter:
|
|
allowSelf: 1
|
|
allowOthers: 1
|
|
snapToHand: 0
|
|
grabMovement: 0.5
|
|
maxStretch: 0
|
|
maxStretchCurve:
|
|
serializedVersion: 2
|
|
m_Curve: []
|
|
m_PreInfinity: 2
|
|
m_PostInfinity: 2
|
|
m_RotationOrder: 4
|
|
maxSquish: 0
|
|
maxSquishCurve:
|
|
serializedVersion: 2
|
|
m_Curve: []
|
|
m_PreInfinity: 2
|
|
m_PostInfinity: 2
|
|
m_RotationOrder: 4
|
|
stretchMotion: 0
|
|
stretchMotionCurve:
|
|
serializedVersion: 2
|
|
m_Curve: []
|
|
m_PreInfinity: 2
|
|
m_PostInfinity: 2
|
|
m_RotationOrder: 4
|
|
isAnimated: 0
|
|
resetWhenDisabled: 0
|
|
parameter:
|
|
showGizmos: 1
|
|
boneOpacity: 0.5
|
|
limitOpacity: 0.5
|
|
--- !u!1 &8784829580641167551
|
|
GameObject:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
serializedVersion: 6
|
|
m_Component:
|
|
- component: {fileID: 3260084934125770558}
|
|
m_Layer: 0
|
|
m_Name: UpperLeg.L
|
|
m_TagString: Untagged
|
|
m_Icon: {fileID: 0}
|
|
m_NavMeshLayer: 0
|
|
m_StaticEditorFlags: 0
|
|
m_IsActive: 1
|
|
--- !u!4 &3260084934125770558
|
|
Transform:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 8784829580641167551}
|
|
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: 2425011545215011340}
|
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
--- !u!1001 &4779359370445923223
|
|
PrefabInstance:
|
|
m_ObjectHideFlags: 0
|
|
serializedVersion: 2
|
|
m_Modification:
|
|
serializedVersion: 3
|
|
m_TransformParent: {fileID: 0}
|
|
m_Modifications:
|
|
- target: {fileID: 1846867717766401987, guid: 5fc34bdb40b2180438fb287e87d752cd,
|
|
type: 3}
|
|
propertyPath: m_Name
|
|
value: DuplicatePBStripping_HumanoidInner
|
|
objectReference: {fileID: 0}
|
|
- target: {fileID: 1846867717766632419, guid: 5fc34bdb40b2180438fb287e87d752cd,
|
|
type: 3}
|
|
propertyPath: m_LocalPosition.x
|
|
value: 0
|
|
objectReference: {fileID: 0}
|
|
- target: {fileID: 1846867717766632419, guid: 5fc34bdb40b2180438fb287e87d752cd,
|
|
type: 3}
|
|
propertyPath: m_LocalPosition.y
|
|
value: 0
|
|
objectReference: {fileID: 0}
|
|
- target: {fileID: 1846867717766632419, guid: 5fc34bdb40b2180438fb287e87d752cd,
|
|
type: 3}
|
|
propertyPath: m_LocalPosition.z
|
|
value: 0
|
|
objectReference: {fileID: 0}
|
|
- target: {fileID: 1846867717766632419, guid: 5fc34bdb40b2180438fb287e87d752cd,
|
|
type: 3}
|
|
propertyPath: m_LocalRotation.w
|
|
value: 1
|
|
objectReference: {fileID: 0}
|
|
- target: {fileID: 1846867717766632419, guid: 5fc34bdb40b2180438fb287e87d752cd,
|
|
type: 3}
|
|
propertyPath: m_LocalRotation.x
|
|
value: 0
|
|
objectReference: {fileID: 0}
|
|
- target: {fileID: 1846867717766632419, guid: 5fc34bdb40b2180438fb287e87d752cd,
|
|
type: 3}
|
|
propertyPath: m_LocalRotation.y
|
|
value: 0
|
|
objectReference: {fileID: 0}
|
|
- target: {fileID: 1846867717766632419, guid: 5fc34bdb40b2180438fb287e87d752cd,
|
|
type: 3}
|
|
propertyPath: m_LocalRotation.z
|
|
value: 0
|
|
objectReference: {fileID: 0}
|
|
- target: {fileID: 1846867717766632419, guid: 5fc34bdb40b2180438fb287e87d752cd,
|
|
type: 3}
|
|
propertyPath: m_LocalEulerAnglesHint.x
|
|
value: 0
|
|
objectReference: {fileID: 0}
|
|
- target: {fileID: 1846867717766632419, guid: 5fc34bdb40b2180438fb287e87d752cd,
|
|
type: 3}
|
|
propertyPath: m_LocalEulerAnglesHint.y
|
|
value: 0
|
|
objectReference: {fileID: 0}
|
|
- target: {fileID: 1846867717766632419, guid: 5fc34bdb40b2180438fb287e87d752cd,
|
|
type: 3}
|
|
propertyPath: m_LocalEulerAnglesHint.z
|
|
value: 0
|
|
objectReference: {fileID: 0}
|
|
m_RemovedComponents: []
|
|
m_RemovedGameObjects: []
|
|
m_AddedGameObjects:
|
|
- targetCorrespondingSourceObject: {fileID: 1846867717766632419, guid: 5fc34bdb40b2180438fb287e87d752cd,
|
|
type: 3}
|
|
insertIndex: -1
|
|
addedObject: {fileID: 3658090810984334700}
|
|
m_AddedComponents: []
|
|
m_SourcePrefab: {fileID: 100100000, guid: 5fc34bdb40b2180438fb287e87d752cd, type: 3}
|
|
--- !u!4 &6625593713945014388 stripped
|
|
Transform:
|
|
m_CorrespondingSourceObject: {fileID: 1846867717766632419, guid: 5fc34bdb40b2180438fb287e87d752cd,
|
|
type: 3}
|
|
m_PrefabInstance: {fileID: 4779359370445923223}
|
|
m_PrefabAsset: {fileID: 0}
|
|
--- !u!1 &6625593713945439624 stripped
|
|
GameObject:
|
|
m_CorrespondingSourceObject: {fileID: 1846867717766401567, guid: 5fc34bdb40b2180438fb287e87d752cd,
|
|
type: 3}
|
|
m_PrefabInstance: {fileID: 4779359370445923223}
|
|
m_PrefabAsset: {fileID: 0}
|