diff options
-rw-r--r-- | ActiveRagdoll/Assets/New Scene.unity | 403 | ||||
-rw-r--r-- | ActiveRagdoll/Assets/TABG/Models/human7.fbx | bin | 0 -> 67308 bytes | |||
-rw-r--r-- | ActiveRagdoll/Assets/TABG/Models/human7.fbx.meta | 106 | ||||
-rw-r--r-- | ActiveRagdoll/Assets/TABG/Models/human8.fbx | bin | 0 -> 67260 bytes | |||
-rw-r--r-- | ActiveRagdoll/Assets/TABG/Models/human8.fbx.meta | 106 | ||||
-rw-r--r-- | ActiveRagdoll/Assets/TABG/Models/human_armature.fbx | bin | 0 -> 90012 bytes | |||
-rw-r--r-- | ActiveRagdoll/Assets/TABG/Models/human_armature.fbx.meta | 106 | ||||
-rw-r--r-- | ActiveRagdoll/Assets/TABG/Models/human_armature2.fbx | bin | 0 -> 110652 bytes | |||
-rw-r--r-- | ActiveRagdoll/Assets/TABG/Models/human_armature2.fbx.meta | 106 | ||||
-rw-r--r-- | ActiveRagdoll/Assets/TABG/Models/human_armature3.fbx | bin | 0 -> 110364 bytes | |||
-rw-r--r-- | ActiveRagdoll/Assets/TABG/Models/human_armature3.fbx.meta | 106 | ||||
-rw-r--r-- | Docs/TAB_AddJointDebug.txt | 29 | ||||
-rw-r--r-- | Docs/资料.xlsx | bin | 6608311 -> 6812011 bytes | |||
-rw-r--r-- | Models/human.blend | bin | 0 -> 456445 bytes | |||
-rw-r--r-- | Models/human.blend1 | bin | 0 -> 448773 bytes |
15 files changed, 958 insertions, 4 deletions
diff --git a/ActiveRagdoll/Assets/New Scene.unity b/ActiveRagdoll/Assets/New Scene.unity index 5df52e4..a70693b 100644 --- a/ActiveRagdoll/Assets/New Scene.unity +++ b/ActiveRagdoll/Assets/New Scene.unity @@ -123,6 +123,75 @@ NavMeshSettings: debug: m_Flags: 0 m_NavMeshData: {fileID: 0} +--- !u!1001 &106621861 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: -8679921383154817045, guid: f27cc1770c0ac424b92efdea9ef9acb4, + type: 3} + propertyPath: m_RootOrder + value: 3 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: f27cc1770c0ac424b92efdea9ef9acb4, + type: 3} + propertyPath: m_LocalPosition.x + value: -1.0095438 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: f27cc1770c0ac424b92efdea9ef9acb4, + type: 3} + propertyPath: m_LocalPosition.y + value: -4.0401735 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: f27cc1770c0ac424b92efdea9ef9acb4, + type: 3} + propertyPath: m_LocalPosition.z + value: 2.5735073 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: f27cc1770c0ac424b92efdea9ef9acb4, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: f27cc1770c0ac424b92efdea9ef9acb4, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: f27cc1770c0ac424b92efdea9ef9acb4, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: f27cc1770c0ac424b92efdea9ef9acb4, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: f27cc1770c0ac424b92efdea9ef9acb4, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: f27cc1770c0ac424b92efdea9ef9acb4, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: f27cc1770c0ac424b92efdea9ef9acb4, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 919132149155446097, guid: f27cc1770c0ac424b92efdea9ef9acb4, + type: 3} + propertyPath: m_Name + value: human_armature + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: f27cc1770c0ac424b92efdea9ef9acb4, type: 3} --- !u!1 &705806567 GameObject: m_ObjectHideFlags: 0 @@ -219,7 +288,7 @@ Transform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 3 + m_RootOrder: 8 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &981251352 GameObject: @@ -314,7 +383,7 @@ Transform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 2 + m_RootOrder: 7 m_LocalEulerAnglesHint: {x: 50, y: -30, z: 0} --- !u!114 &981251355 MonoBehaviour: @@ -336,6 +405,169 @@ MonoBehaviour: m_ShadowLayerMask: 1 m_LightCookieSize: {x: 1, y: 1} m_LightCookieOffset: {x: 0, y: 0} +--- !u!1001 &1294211392 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: -8679921383154817045, guid: 26507aa93288fc342908945a7f647166, + type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 26507aa93288fc342908945a7f647166, + type: 3} + propertyPath: m_LocalPosition.x + value: -3.5415802 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 26507aa93288fc342908945a7f647166, + type: 3} + propertyPath: m_LocalPosition.y + value: -4.0401735 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 26507aa93288fc342908945a7f647166, + type: 3} + propertyPath: m_LocalPosition.z + value: 3.82533 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 26507aa93288fc342908945a7f647166, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 26507aa93288fc342908945a7f647166, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 26507aa93288fc342908945a7f647166, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 26507aa93288fc342908945a7f647166, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 26507aa93288fc342908945a7f647166, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 26507aa93288fc342908945a7f647166, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 26507aa93288fc342908945a7f647166, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 919132149155446097, guid: 26507aa93288fc342908945a7f647166, + type: 3} + propertyPath: m_Name + value: human_armature3 + objectReference: {fileID: 0} + - target: {fileID: 1515092911393375079, guid: 26507aa93288fc342908945a7f647166, + type: 3} + propertyPath: m_IsActive + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8180324259724858815, guid: 26507aa93288fc342908945a7f647166, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: 8180324259724858815, guid: 26507aa93288fc342908945a7f647166, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8180324259724858815, guid: 26507aa93288fc342908945a7f647166, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 8180324259724858815, guid: 26507aa93288fc342908945a7f647166, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 26507aa93288fc342908945a7f647166, type: 3} +--- !u!1001 &1320414343 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: -8679921383154817045, guid: fa7b1313648f2104cb7d3d15e73a7f4d, + type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: fa7b1313648f2104cb7d3d15e73a7f4d, + type: 3} + propertyPath: m_LocalPosition.x + value: -0.23199701 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: fa7b1313648f2104cb7d3d15e73a7f4d, + type: 3} + propertyPath: m_LocalPosition.y + value: -4.0401735 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: fa7b1313648f2104cb7d3d15e73a7f4d, + type: 3} + propertyPath: m_LocalPosition.z + value: 0.4307871 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: fa7b1313648f2104cb7d3d15e73a7f4d, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: fa7b1313648f2104cb7d3d15e73a7f4d, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: fa7b1313648f2104cb7d3d15e73a7f4d, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: fa7b1313648f2104cb7d3d15e73a7f4d, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: fa7b1313648f2104cb7d3d15e73a7f4d, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: fa7b1313648f2104cb7d3d15e73a7f4d, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: fa7b1313648f2104cb7d3d15e73a7f4d, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 919132149155446097, guid: fa7b1313648f2104cb7d3d15e73a7f4d, + type: 3} + propertyPath: m_Name + value: human8 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: fa7b1313648f2104cb7d3d15e73a7f4d, type: 3} --- !u!1001 &1473632379 PrefabInstance: m_ObjectHideFlags: 0 @@ -346,7 +578,7 @@ PrefabInstance: - target: {fileID: -8679921383154817045, guid: cbfc757135a92d543b23f63aec480873, type: 3} propertyPath: m_RootOrder - value: 1 + value: 4 objectReference: {fileID: 0} - target: {fileID: -8679921383154817045, guid: cbfc757135a92d543b23f63aec480873, type: 3} @@ -420,6 +652,75 @@ PrefabInstance: objectReference: {fileID: 0} m_RemovedComponents: [] m_SourcePrefab: {fileID: 100100000, guid: cbfc757135a92d543b23f63aec480873, type: 3} +--- !u!1001 &1573236182 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: -8679921383154817045, guid: 94f70253bafcbd447a3683e19c1935e6, + type: 3} + propertyPath: m_RootOrder + value: 1 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 94f70253bafcbd447a3683e19c1935e6, + type: 3} + propertyPath: m_LocalPosition.x + value: -1.6086034 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 94f70253bafcbd447a3683e19c1935e6, + type: 3} + propertyPath: m_LocalPosition.y + value: -4.0401735 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 94f70253bafcbd447a3683e19c1935e6, + type: 3} + propertyPath: m_LocalPosition.z + value: 0.84791803 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 94f70253bafcbd447a3683e19c1935e6, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 94f70253bafcbd447a3683e19c1935e6, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 94f70253bafcbd447a3683e19c1935e6, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 94f70253bafcbd447a3683e19c1935e6, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 94f70253bafcbd447a3683e19c1935e6, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 94f70253bafcbd447a3683e19c1935e6, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 94f70253bafcbd447a3683e19c1935e6, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 919132149155446097, guid: 94f70253bafcbd447a3683e19c1935e6, + type: 3} + propertyPath: m_Name + value: human7 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 94f70253bafcbd447a3683e19c1935e6, type: 3} --- !u!1 &1848931106 GameObject: m_ObjectHideFlags: 0 @@ -651,5 +952,99 @@ Transform: m_ConstrainProportionsScale: 0 m_Children: [] m_Father: {fileID: 0} - m_RootOrder: 4 + m_RootOrder: 9 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1001 &2048134230 +PrefabInstance: + m_ObjectHideFlags: 0 + serializedVersion: 2 + m_Modification: + m_TransformParent: {fileID: 0} + m_Modifications: + - target: {fileID: -8679921383154817045, guid: 53a450065c1792843a23e79fa6cd7cd1, + type: 3} + propertyPath: m_RootOrder + value: 2 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 53a450065c1792843a23e79fa6cd7cd1, + type: 3} + propertyPath: m_LocalPosition.x + value: -3.832 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 53a450065c1792843a23e79fa6cd7cd1, + type: 3} + propertyPath: m_LocalPosition.y + value: -4.0401735 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 53a450065c1792843a23e79fa6cd7cd1, + type: 3} + propertyPath: m_LocalPosition.z + value: 2.500748 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 53a450065c1792843a23e79fa6cd7cd1, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 53a450065c1792843a23e79fa6cd7cd1, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 53a450065c1792843a23e79fa6cd7cd1, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 53a450065c1792843a23e79fa6cd7cd1, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 53a450065c1792843a23e79fa6cd7cd1, + type: 3} + propertyPath: m_LocalEulerAnglesHint.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 53a450065c1792843a23e79fa6cd7cd1, + type: 3} + propertyPath: m_LocalEulerAnglesHint.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -8679921383154817045, guid: 53a450065c1792843a23e79fa6cd7cd1, + type: 3} + propertyPath: m_LocalEulerAnglesHint.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -3910229013875068149, guid: 53a450065c1792843a23e79fa6cd7cd1, + type: 3} + propertyPath: m_LocalPosition.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -3910229013875068149, guid: 53a450065c1792843a23e79fa6cd7cd1, + type: 3} + propertyPath: m_LocalRotation.w + value: 1 + objectReference: {fileID: 0} + - target: {fileID: -3910229013875068149, guid: 53a450065c1792843a23e79fa6cd7cd1, + type: 3} + propertyPath: m_LocalRotation.x + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -3910229013875068149, guid: 53a450065c1792843a23e79fa6cd7cd1, + type: 3} + propertyPath: m_LocalRotation.y + value: 0 + objectReference: {fileID: 0} + - target: {fileID: -3910229013875068149, guid: 53a450065c1792843a23e79fa6cd7cd1, + type: 3} + propertyPath: m_LocalRotation.z + value: 0 + objectReference: {fileID: 0} + - target: {fileID: 919132149155446097, guid: 53a450065c1792843a23e79fa6cd7cd1, + type: 3} + propertyPath: m_Name + value: human_armature2 + objectReference: {fileID: 0} + m_RemovedComponents: [] + m_SourcePrefab: {fileID: 100100000, guid: 53a450065c1792843a23e79fa6cd7cd1, type: 3} diff --git a/ActiveRagdoll/Assets/TABG/Models/human7.fbx b/ActiveRagdoll/Assets/TABG/Models/human7.fbx Binary files differnew file mode 100644 index 0000000..7a2745f --- /dev/null +++ b/ActiveRagdoll/Assets/TABG/Models/human7.fbx diff --git a/ActiveRagdoll/Assets/TABG/Models/human7.fbx.meta b/ActiveRagdoll/Assets/TABG/Models/human7.fbx.meta new file mode 100644 index 0000000..5f295fc --- /dev/null +++ b/ActiveRagdoll/Assets/TABG/Models/human7.fbx.meta @@ -0,0 +1,106 @@ +fileFormatVersion: 2 +guid: 94f70253bafcbd447a3683e19c1935e6 +ModelImporter: + serializedVersion: 21300 + internalIDToNameTable: [] + externalObjects: {} + materials: + materialImportMode: 2 + materialName: 0 + materialSearch: 1 + materialLocation: 1 + animations: + legacyGenerateAnimations: 4 + bakeSimulation: 0 + resampleCurves: 1 + optimizeGameObjects: 0 + removeConstantScaleCurves: 1 + 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 + nodeNameCollisionStrategy: 1 + fileIdsGeneration: 2 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + keepQuads: 0 + weldVertices: 1 + bakeAxisConversion: 0 + preserveHierarchy: 0 + skinWeightsMode: 0 + maxBonesPerVertex: 4 + minBoneWeight: 0.001 + optimizeBones: 1 + meshOptimizationFlags: -1 + indexFormat: 0 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVMarginMethod: 1 + secondaryUVMinLightmapResolution: 40 + secondaryUVMinObjectScale: 1 + 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 + addHumanoidExtraRootOnlyWhenUsingAvatar: 1 + remapMaterialsIfMaterialImportModeIsNone: 0 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/ActiveRagdoll/Assets/TABG/Models/human8.fbx b/ActiveRagdoll/Assets/TABG/Models/human8.fbx Binary files differnew file mode 100644 index 0000000..28e2449 --- /dev/null +++ b/ActiveRagdoll/Assets/TABG/Models/human8.fbx diff --git a/ActiveRagdoll/Assets/TABG/Models/human8.fbx.meta b/ActiveRagdoll/Assets/TABG/Models/human8.fbx.meta new file mode 100644 index 0000000..5bc0053 --- /dev/null +++ b/ActiveRagdoll/Assets/TABG/Models/human8.fbx.meta @@ -0,0 +1,106 @@ +fileFormatVersion: 2 +guid: fa7b1313648f2104cb7d3d15e73a7f4d +ModelImporter: + serializedVersion: 21300 + internalIDToNameTable: [] + externalObjects: {} + materials: + materialImportMode: 2 + materialName: 0 + materialSearch: 1 + materialLocation: 1 + animations: + legacyGenerateAnimations: 4 + bakeSimulation: 0 + resampleCurves: 1 + optimizeGameObjects: 0 + removeConstantScaleCurves: 1 + 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 + nodeNameCollisionStrategy: 1 + fileIdsGeneration: 2 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + keepQuads: 0 + weldVertices: 1 + bakeAxisConversion: 0 + preserveHierarchy: 0 + skinWeightsMode: 0 + maxBonesPerVertex: 4 + minBoneWeight: 0.001 + optimizeBones: 1 + meshOptimizationFlags: -1 + indexFormat: 0 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVMarginMethod: 1 + secondaryUVMinLightmapResolution: 40 + secondaryUVMinObjectScale: 1 + 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 + addHumanoidExtraRootOnlyWhenUsingAvatar: 1 + remapMaterialsIfMaterialImportModeIsNone: 0 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/ActiveRagdoll/Assets/TABG/Models/human_armature.fbx b/ActiveRagdoll/Assets/TABG/Models/human_armature.fbx Binary files differnew file mode 100644 index 0000000..65e6d42 --- /dev/null +++ b/ActiveRagdoll/Assets/TABG/Models/human_armature.fbx diff --git a/ActiveRagdoll/Assets/TABG/Models/human_armature.fbx.meta b/ActiveRagdoll/Assets/TABG/Models/human_armature.fbx.meta new file mode 100644 index 0000000..d637e04 --- /dev/null +++ b/ActiveRagdoll/Assets/TABG/Models/human_armature.fbx.meta @@ -0,0 +1,106 @@ +fileFormatVersion: 2 +guid: f27cc1770c0ac424b92efdea9ef9acb4 +ModelImporter: + serializedVersion: 21300 + internalIDToNameTable: [] + externalObjects: {} + materials: + materialImportMode: 2 + materialName: 0 + materialSearch: 1 + materialLocation: 1 + animations: + legacyGenerateAnimations: 4 + bakeSimulation: 0 + resampleCurves: 1 + optimizeGameObjects: 0 + removeConstantScaleCurves: 1 + 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 + nodeNameCollisionStrategy: 1 + fileIdsGeneration: 2 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + keepQuads: 0 + weldVertices: 1 + bakeAxisConversion: 0 + preserveHierarchy: 0 + skinWeightsMode: 0 + maxBonesPerVertex: 4 + minBoneWeight: 0.001 + optimizeBones: 1 + meshOptimizationFlags: -1 + indexFormat: 0 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVMarginMethod: 1 + secondaryUVMinLightmapResolution: 40 + secondaryUVMinObjectScale: 1 + 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 + addHumanoidExtraRootOnlyWhenUsingAvatar: 1 + remapMaterialsIfMaterialImportModeIsNone: 0 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/ActiveRagdoll/Assets/TABG/Models/human_armature2.fbx b/ActiveRagdoll/Assets/TABG/Models/human_armature2.fbx Binary files differnew file mode 100644 index 0000000..eca0e4b --- /dev/null +++ b/ActiveRagdoll/Assets/TABG/Models/human_armature2.fbx diff --git a/ActiveRagdoll/Assets/TABG/Models/human_armature2.fbx.meta b/ActiveRagdoll/Assets/TABG/Models/human_armature2.fbx.meta new file mode 100644 index 0000000..39650de --- /dev/null +++ b/ActiveRagdoll/Assets/TABG/Models/human_armature2.fbx.meta @@ -0,0 +1,106 @@ +fileFormatVersion: 2 +guid: 53a450065c1792843a23e79fa6cd7cd1 +ModelImporter: + serializedVersion: 21300 + internalIDToNameTable: [] + externalObjects: {} + materials: + materialImportMode: 2 + materialName: 0 + materialSearch: 1 + materialLocation: 1 + animations: + legacyGenerateAnimations: 4 + bakeSimulation: 0 + resampleCurves: 1 + optimizeGameObjects: 0 + removeConstantScaleCurves: 1 + 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 + nodeNameCollisionStrategy: 1 + fileIdsGeneration: 2 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + keepQuads: 0 + weldVertices: 1 + bakeAxisConversion: 0 + preserveHierarchy: 0 + skinWeightsMode: 0 + maxBonesPerVertex: 4 + minBoneWeight: 0.001 + optimizeBones: 1 + meshOptimizationFlags: -1 + indexFormat: 0 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVMarginMethod: 1 + secondaryUVMinLightmapResolution: 40 + secondaryUVMinObjectScale: 1 + 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 + addHumanoidExtraRootOnlyWhenUsingAvatar: 1 + remapMaterialsIfMaterialImportModeIsNone: 0 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/ActiveRagdoll/Assets/TABG/Models/human_armature3.fbx b/ActiveRagdoll/Assets/TABG/Models/human_armature3.fbx Binary files differnew file mode 100644 index 0000000..4e57e41 --- /dev/null +++ b/ActiveRagdoll/Assets/TABG/Models/human_armature3.fbx diff --git a/ActiveRagdoll/Assets/TABG/Models/human_armature3.fbx.meta b/ActiveRagdoll/Assets/TABG/Models/human_armature3.fbx.meta new file mode 100644 index 0000000..75f8b29 --- /dev/null +++ b/ActiveRagdoll/Assets/TABG/Models/human_armature3.fbx.meta @@ -0,0 +1,106 @@ +fileFormatVersion: 2 +guid: 26507aa93288fc342908945a7f647166 +ModelImporter: + serializedVersion: 21300 + internalIDToNameTable: [] + externalObjects: {} + materials: + materialImportMode: 2 + materialName: 0 + materialSearch: 1 + materialLocation: 1 + animations: + legacyGenerateAnimations: 4 + bakeSimulation: 0 + resampleCurves: 1 + optimizeGameObjects: 0 + removeConstantScaleCurves: 1 + 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 + nodeNameCollisionStrategy: 1 + fileIdsGeneration: 2 + swapUVChannels: 0 + generateSecondaryUV: 0 + useFileUnits: 1 + keepQuads: 0 + weldVertices: 1 + bakeAxisConversion: 0 + preserveHierarchy: 0 + skinWeightsMode: 0 + maxBonesPerVertex: 4 + minBoneWeight: 0.001 + optimizeBones: 1 + meshOptimizationFlags: -1 + indexFormat: 0 + secondaryUVAngleDistortion: 8 + secondaryUVAreaDistortion: 15.000001 + secondaryUVHardAngle: 88 + secondaryUVMarginMethod: 1 + secondaryUVMinLightmapResolution: 40 + secondaryUVMinObjectScale: 1 + 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 + addHumanoidExtraRootOnlyWhenUsingAvatar: 1 + remapMaterialsIfMaterialImportModeIsNone: 0 + additionalBone: 0 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Docs/TAB_AddJointDebug.txt b/Docs/TAB_AddJointDebug.txt new file mode 100644 index 0000000..e8de306 --- /dev/null +++ b/Docs/TAB_AddJointDebug.txt @@ -0,0 +1,29 @@ +string name = "Armature_Target"; +GameObject go = GameObject.Find(name); +if (go != null) +{ + + var comps = go.GetComponentsInChildren<MonoBehaviour>(); + if (comps != null) + { + for (int j = 0; j < comps.Length; j++) + { + if (comps[j].GetType().Name == "DebugRigidBody") + { + UnityEngine.Object.DestroyImmediate(comps[j]); + } + } + } + + var joints = go.GetComponentsInChildren<FollowRig>(); + if(joints != null) + { + for(int i = 0; i < joints.Length; i++) + { + Debug.Log(joints[i].gameObject.name); + joints[i].gameObject.AddComponent<DebugRigidBody>(); + } + } + +} + diff --git a/Docs/资料.xlsx b/Docs/资料.xlsx Binary files differindex cd30696..b085da2 100644 --- a/Docs/资料.xlsx +++ b/Docs/资料.xlsx diff --git a/Models/human.blend b/Models/human.blend Binary files differnew file mode 100644 index 0000000..05855ce --- /dev/null +++ b/Models/human.blend diff --git a/Models/human.blend1 b/Models/human.blend1 Binary files differnew file mode 100644 index 0000000..bcc22ac --- /dev/null +++ b/Models/human.blend1 |