Skip to content

Commit

Permalink
Small improvements to Demo.
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasVanHooste committed May 23, 2021
1 parent 3ff348f commit 43bf642
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 608 deletions.
46 changes: 23 additions & 23 deletions Assets/DynamicMeshSplitting/Demo/Prefabs/AnimtedNested.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ CharacterJoint:
m_Anchor: {x: 0, y: 0, z: 0}
m_Axis: {x: 0, y: 0, z: 1}
m_AutoConfigureConnectedAnchor: 1
m_ConnectedAnchor: {x: 0, y: 0.000000007450581, z: -0.08740759}
m_ConnectedAnchor: {x: 0, y: -0.00000025331974, z: -0.08740807}
serializedVersion: 2
m_SwingAxis: {x: 0, y: -1, z: 0}
m_TwistLimitSpring:
Expand Down Expand Up @@ -115,7 +115,7 @@ CharacterJoint:
m_Anchor: {x: 0, y: 0, z: 0}
m_Axis: {x: 0, y: 0, z: 1}
m_AutoConfigureConnectedAnchor: 1
m_ConnectedAnchor: {x: -0.36026496, y: -0.022778511, z: -0.000000001862645}
m_ConnectedAnchor: {x: -0.36026496, y: -0.022778511, z: 0.000000067055225}
serializedVersion: 2
m_SwingAxis: {x: 0, y: -1, z: 0}
m_TwistLimitSpring:
Expand Down Expand Up @@ -149,19 +149,6 @@ CharacterJoint:
m_EnablePreprocessing: 0
m_MassScale: 1
m_ConnectedMassScale: 1
--- !u!65 &5571700225852290774
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3424084122018111150}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 0.14738543, y: 0.11479874, z: 0.09898746}
m_Center: {x: -0.01784199, y: 0.003914906, z: 0.0059304982}
--- !u!1 &2646961189061480595
GameObject:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -256,6 +243,19 @@ MonoBehaviour:
- {fileID: 8335535414697817459}
- {fileID: 4747389960426313585}
- {fileID: 6733884078483157112}
--- !u!65 &5571700225852290774
BoxCollider:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 3424084122018111150}
m_Material: {fileID: 0}
m_IsTrigger: 0
m_Enabled: 1
serializedVersion: 2
m_Size: {x: 0.14738543, y: 0.11479874, z: 0.09898746}
m_Center: {x: -0.01784199, y: 0.003914906, z: 0.0059304982}
--- !u!54 &496594405
Rigidbody:
m_ObjectHideFlags: 0
Expand Down Expand Up @@ -296,7 +296,7 @@ CharacterJoint:
m_Anchor: {x: 0, y: 0, z: 0}
m_Axis: {x: 0, y: 0, z: 1}
m_AutoConfigureConnectedAnchor: 1
m_ConnectedAnchor: {x: -0.24384487, y: 0, z: 0}
m_ConnectedAnchor: {x: -0.24384499, y: 0, z: 0}
serializedVersion: 2
m_SwingAxis: {x: 0, y: -1, z: 0}
m_TwistLimitSpring:
Expand Down Expand Up @@ -371,7 +371,7 @@ CharacterJoint:
m_Anchor: {x: 0, y: 0, z: 0}
m_Axis: {x: 0, y: 1, z: 0}
m_AutoConfigureConnectedAnchor: 1
m_ConnectedAnchor: {x: 0.27836436, y: -0.00000037066638, z: -0.000000035390258}
m_ConnectedAnchor: {x: 0.27836412, y: 0.00000043399632, z: 0.00000029429793}
serializedVersion: 2
m_SwingAxis: {x: 0, y: 0, z: -1}
m_TwistLimitSpring:
Expand Down Expand Up @@ -475,7 +475,7 @@ CharacterJoint:
m_Anchor: {x: 0, y: 0, z: 0}
m_Axis: {x: 0, y: 0, z: 1}
m_AutoConfigureConnectedAnchor: 1
m_ConnectedAnchor: {x: -0.4952528, y: 0.00000041309977, z: 0.000000038564977}
m_ConnectedAnchor: {x: -0.4952528, y: 0.00000017468119, z: 0.00000040364344}
serializedVersion: 2
m_SwingAxis: {x: 0, y: 1, z: 0}
m_TwistLimitSpring:
Expand Down Expand Up @@ -550,7 +550,7 @@ CharacterJoint:
m_Anchor: {x: 0, y: 0, z: 0}
m_Axis: {x: 0, y: 0, z: 1}
m_AutoConfigureConnectedAnchor: 1
m_ConnectedAnchor: {x: -0.16234034, y: -0.019992828, z: -0.17245722}
m_ConnectedAnchor: {x: -0.16234034, y: -0.019993335, z: -0.17245765}
serializedVersion: 2
m_SwingAxis: {x: 0, y: -1, z: 0}
m_TwistLimitSpring:
Expand Down Expand Up @@ -625,7 +625,7 @@ CharacterJoint:
m_Anchor: {x: 0, y: 0, z: 0}
m_Axis: {x: 0, y: 0, z: 1}
m_AutoConfigureConnectedAnchor: 1
m_ConnectedAnchor: {x: 0.49064642, y: 0.00000008717655, z: 0.000000052154064}
m_ConnectedAnchor: {x: 0.49064636, y: -0.00000015123474, z: -0.00000043213367}
serializedVersion: 2
m_SwingAxis: {x: 0, y: -1, z: 0}
m_TwistLimitSpring:
Expand Down Expand Up @@ -700,7 +700,7 @@ CharacterJoint:
m_Anchor: {x: 0, y: 0, z: 0}
m_Axis: {x: 0, y: -1, z: 0}
m_AutoConfigureConnectedAnchor: 1
m_ConnectedAnchor: {x: -0.27237758, y: 0.00000043027103, z: -0.000000031664968}
m_ConnectedAnchor: {x: -0.2723774, y: 0.00000028125942, z: -0.0000001899898}
serializedVersion: 2
m_SwingAxis: {x: 0, y: 0, z: 1}
m_TwistLimitSpring:
Expand Down Expand Up @@ -775,7 +775,7 @@ CharacterJoint:
m_Anchor: {x: 0, y: 0, z: 0}
m_Axis: {x: 0, y: 0, z: -1}
m_AutoConfigureConnectedAnchor: 1
m_ConnectedAnchor: {x: -0.16362375, y: -0.019992828, z: 0.16645217}
m_ConnectedAnchor: {x: -0.16362375, y: -0.019993305, z: 0.16645248}
serializedVersion: 2
m_SwingAxis: {x: 0, y: 1, z: 0}
m_TwistLimitSpring:
Expand Down Expand Up @@ -850,7 +850,7 @@ CharacterJoint:
m_Anchor: {x: 0, y: 0, z: 0}
m_Axis: {x: 0, y: 0, z: 1}
m_AutoConfigureConnectedAnchor: 1
m_ConnectedAnchor: {x: -0.0000046491623, y: -0.0000009611249, z: 0.08740771}
m_ConnectedAnchor: {x: -0.0000047683716, y: -0.0000007003546, z: 0.08740807}
serializedVersion: 2
m_SwingAxis: {x: 0, y: 1, z: 0}
m_TwistLimitSpring:
Expand Down
27 changes: 27 additions & 0 deletions Assets/DynamicMeshSplitting/Demo/Prefabs/BaseMesh.prefab
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ GameObject:
- component: {fileID: 2645048962721996663}
- component: {fileID: 5350023219772125709}
- component: {fileID: 7048044127042078301}
- component: {fileID: 7048044128667623971}
m_Layer: 0
m_Name: BaseMesh
m_TagString: Untagged
Expand Down Expand Up @@ -581,6 +582,32 @@ Rigidbody:
m_Interpolate: 0
m_Constraints: 0
m_CollisionDetection: 0
--- !u!114 &7048044128667623971
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1364102351779638628}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 33589787423e23047bb1069a335bd1cd, type: 3}
m_Name:
m_EditorClassIdentifier:
CapMaterial: {fileID: 2100000, guid: eb71a0a6e167b4e46becda7ff6442462, type: 2}
CapUVMin: {x: 0, y: 0}
CapUVMax: {x: 1, y: 1}
SplitForce: 0
DestroyOriginalMeshWhenSplit: 0
targetSkinnedMeshRenderer: {fileID: 8418956215077016277}
RagdollBones:
- {fileID: 581824836083916136}
- {fileID: 3944303917560707578}
- {fileID: 1653641192521068114}
- {fileID: 7898002415982755889}
- {fileID: 5356442740199202526}
- {fileID: 8532894510166636719}
- {fileID: 6375777637199876289}
--- !u!1 &1401903267588596748
GameObject:
m_ObjectHideFlags: 0
Expand Down
Loading

0 comments on commit 43bf642

Please sign in to comment.