From f171be2dd8aab89cba362133ad8feac3db58355e Mon Sep 17 00:00:00 2001 From: Ino Date: Thu, 18 Dec 2025 15:46:47 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B0=94=EC=8A=A4=ED=8A=B8=20=EB=AA=A8?= =?UTF-8?q?=ED=95=91=20=EC=A2=80=20=EB=8D=94=20=EC=97=AD=EB=8F=99=EC=A0=81?= =?UTF-8?q?=EC=9D=B4=EA=B2=8C=20(=EB=8C=80=EC=8B=A0=20=EC=96=B4=EC=83=89?= =?UTF-8?q?=ED=95=9C=20=EB=B6=80=EB=B6=84=20=EC=9E=88=EC=9D=8C)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Prefabs/HorseRush/GameBG_Girls.prefab | 266 ++++++++++-------- Assets/Scripts/Game/BreastJigglePhysics.cs | 20 +- 2 files changed, 160 insertions(+), 126 deletions(-) diff --git a/Assets/Resources/Prefabs/HorseRush/GameBG_Girls.prefab b/Assets/Resources/Prefabs/HorseRush/GameBG_Girls.prefab index 964def5..f9c899f 100644 --- a/Assets/Resources/Prefabs/HorseRush/GameBG_Girls.prefab +++ b/Assets/Resources/Prefabs/HorseRush/GameBG_Girls.prefab @@ -177,10 +177,10 @@ MonoBehaviour: autoConfigureJellySprite: 1 stiffness: 2.6 dampingRatio: 0.4 - mass: 0.6 + mass: 0.2 gravityScale: 0 drag: 0 - angularDrag: 0.6 + angularDrag: 0.2 playerJiggleStrength: 26 randomVariation: 0.5 horizontalSpread: 0 @@ -191,6 +191,7 @@ MonoBehaviour: useContactPointPhysics: 1 showDebugGizmos: 0 showDebugLog: 0 + minCollisionInterval: 0.5 --- !u!1 &538384701802228756 GameObject: m_ObjectHideFlags: 0 @@ -307,11 +308,11 @@ MonoBehaviour: - 0.74700004 - 0.74700004 - 0.74700004 - - 0.74700004 - - 0.74700004 - - 0.38701442 - - 0.23657271 - - 0.74700004 + - 0.2 + - 0.2 + - 0.2 + - 0.2 + - 0.2 m_FreeModeBodyKinematic: 000000000101010101 m_MassStyle: 1 m_PhysicsMaterial: {fileID: 0} @@ -368,10 +369,10 @@ MonoBehaviour: autoConfigureJellySprite: 1 stiffness: 2.6 dampingRatio: 0.4 - mass: 0.6 + mass: 0.2 gravityScale: 0 drag: 0 - angularDrag: 0.6 + angularDrag: 0.2 playerJiggleStrength: 26 randomVariation: 0.5 horizontalSpread: 0.5 @@ -382,6 +383,7 @@ MonoBehaviour: useContactPointPhysics: 1 showDebugGizmos: 0 showDebugLog: 0 + minCollisionInterval: 0.5 --- !u!1 &885141662043541444 GameObject: m_ObjectHideFlags: 0 @@ -498,11 +500,11 @@ MonoBehaviour: - 0.74700004 - 0.74700004 - 0.74700004 - - 0.33739877 - - 0.4419778 - - 0.23256111 - - 0.19099021 - - 0.25334647 + - 0.2 + - 0.2 + - 0.2 + - 0.2 + - 0.2 m_FreeModeBodyKinematic: 000000000101010101 m_MassStyle: 1 m_PhysicsMaterial: {fileID: 0} @@ -559,10 +561,10 @@ MonoBehaviour: autoConfigureJellySprite: 1 stiffness: 2.6 dampingRatio: 0.4 - mass: 0.6 + mass: 0.2 gravityScale: 0 drag: 0 - angularDrag: 0.6 + angularDrag: 0.2 playerJiggleStrength: 26 randomVariation: 0.5 horizontalSpread: 0 @@ -573,6 +575,7 @@ MonoBehaviour: useContactPointPhysics: 1 showDebugGizmos: 0 showDebugLog: 0 + minCollisionInterval: 0.5 --- !u!1 &1359420701776038712 GameObject: m_ObjectHideFlags: 0 @@ -750,10 +753,10 @@ MonoBehaviour: autoConfigureJellySprite: 1 stiffness: 2.6 dampingRatio: 0.4 - mass: 0.6 + mass: 0.2 gravityScale: 0 drag: 0 - angularDrag: 0.6 + angularDrag: 0.2 playerJiggleStrength: 26 randomVariation: 0.5 horizontalSpread: 0 @@ -764,6 +767,7 @@ MonoBehaviour: useContactPointPhysics: 1 showDebugGizmos: 0 showDebugLog: 0 + minCollisionInterval: 0.5 --- !u!1 &1646152080647501273 GameObject: m_ObjectHideFlags: 0 @@ -870,21 +874,21 @@ MonoBehaviour: - {x: 0.14658678, y: -0.04138398, z: 0} - {x: 0.08151466, y: 0.39879036, z: 0} - {x: -0.000000027210339, y: 0.6225, z: 0} - - {x: -0.5947814, y: 1.0546339, z: 0} - - {x: -0.87252545, y: 0.526278, z: 0} - - {x: 0.5714595, y: 1.5034939, z: 0} + - {x: -0.619097, y: 1.4679971, z: 0} + - {x: -0.79957914, y: 0.9299152, z: 0} + - {x: 0.051107764, y: 1.615345, z: 0} - {x: 1.1237571, y: 0.07891035, z: 0} - - {x: 0.9063801, y: -0.81572914, z: 0} + - {x: 0.896654, y: 1.2316344, z: 0} m_FreeModeBodyRadii: - 0.74700004 - 0.74700004 - 0.74700004 - 0.74700004 - - 0.33256638 - - 0.15979731 - - 0.6660615 - - 0.14937377 - - 0.1480546 + - 0.2 + - 0.2 + - 0.2 + - 0.2 + - 0.2 m_FreeModeBodyKinematic: 000000000101010101 m_MassStyle: 1 m_PhysicsMaterial: {fileID: 0} @@ -898,14 +902,14 @@ MonoBehaviour: m_SphereRadius: 0.25 m_DistanceExponent: 2 m_Stiffness: 2.6 - m_Mass: 0.6 + m_Mass: 0.2 m_LockRotation: 1 m_GravityScale: 0 m_UseGravity: 1 m_CollideConnected: 0 m_CentralBodyKinematic: 0 m_Drag: 0 - m_AngularDrag: 0.6 + m_AngularDrag: 0.2 m_RadiusPoints: 8 m_GridColumns: 4 m_GridRows: 4 @@ -941,10 +945,10 @@ MonoBehaviour: autoConfigureJellySprite: 1 stiffness: 2.6 dampingRatio: 0.4 - mass: 0.6 + mass: 0.2 gravityScale: 0 drag: 0 - angularDrag: 0.6 + angularDrag: 0.2 playerJiggleStrength: 26 randomVariation: 0.5 horizontalSpread: 0.5 @@ -955,6 +959,7 @@ MonoBehaviour: useContactPointPhysics: 1 showDebugGizmos: 0 showDebugLog: 0 + minCollisionInterval: 0.5 --- !u!1 &2092902867577183194 GameObject: m_ObjectHideFlags: 0 @@ -1062,20 +1067,20 @@ MonoBehaviour: - {x: 1.0285316, y: 1.0765209, z: 0} - {x: -0.000000026663947, y: 0.61, z: 0} - {x: -0.28736836, y: 1.7003773, z: 0} - - {x: -1.0419008, y: 0.27193785, z: 0} - - {x: -0.43133506, y: -0.4313352, z: 0} - - {x: 0.0000000072741773, y: -0.61, z: 0} - - {x: 0.43133527, y: -0.431335, z: 0} + - {x: -1.0106817, y: 0.5279329, z: 0} + - {x: -0.93083847, y: 1.2295132, z: 0} + - {x: 0.5182345, y: 1.6689829, z: 0} + - {x: 1.1805902, y: 0.47401476, z: 0} m_FreeModeBodyRadii: - 0.61 - 0.61 + - 0.2 - 0.61 - - 0.61 - - 0.587783 - - 0.15677077 - - 0.61 - - 0.61 - - 0.61 + - 0.2 + - 0.2 + - 0.2 + - 0.2 + - 0.2 m_FreeModeBodyKinematic: 000001000101010101 m_MassStyle: 1 m_PhysicsMaterial: {fileID: 0} @@ -1089,14 +1094,14 @@ MonoBehaviour: m_SphereRadius: 0.25 m_DistanceExponent: 2 m_Stiffness: 2.6 - m_Mass: 0.6 + m_Mass: 0.2 m_LockRotation: 1 m_GravityScale: 0 m_UseGravity: 1 m_CollideConnected: 0 m_CentralBodyKinematic: 0 m_Drag: 0 - m_AngularDrag: 0.6 + m_AngularDrag: 0.2 m_RadiusPoints: 8 m_GridColumns: 4 m_GridRows: 4 @@ -1132,10 +1137,10 @@ MonoBehaviour: autoConfigureJellySprite: 1 stiffness: 2.6 dampingRatio: 0.4 - mass: 0.6 + mass: 0.2 gravityScale: 0 drag: 0 - angularDrag: 0.6 + angularDrag: 0.2 playerJiggleStrength: 26 randomVariation: 0.5 horizontalSpread: 0.5 @@ -1146,6 +1151,7 @@ MonoBehaviour: useContactPointPhysics: 1 showDebugGizmos: 0 showDebugLog: 0 + minCollisionInterval: 0.5 --- !u!1 &2658902584104637044 GameObject: m_ObjectHideFlags: 0 @@ -1354,23 +1360,23 @@ MonoBehaviour: - {x: 0, y: 0, z: 0} - {x: 0.14658678, y: -0.04138398, z: 0} - {x: 0.08151466, y: 0.39879036, z: 0} - - {x: -0.000000027210339, y: 0.6225, z: 0} + - {x: 0.3264687, y: 1.6521322, z: 0} - {x: -0.9442847, y: 1.1618474, z: 0} - {x: 0.8526867, y: 0.7216735, z: 0} - {x: -0.7903986, y: 0.6264179, z: 0} - - {x: 0.000000007423238, y: -0.6225, z: 0} - - {x: 0.57723635, y: 1.5854795, z: 0} + - {x: -0.38925123, y: 1.6062769, z: 0} + - {x: 0.8660357, y: 1.3029583, z: 0} m_FreeModeBodyRadii: - 0.74700004 - 0.74700004 - 0.74700004 - - 0.74700004 - - 0.18982506 - - 0.163293 - - 0.26057768 - - 0.74700004 - - 0.30037576 - m_FreeModeBodyKinematic: 000000000101010101 + - 0.2 + - 0.2 + - 0.2 + - 0.2 + - 0.2 + - 0.2 + m_FreeModeBodyKinematic: 000000010101010101 m_MassStyle: 1 m_PhysicsMaterial: {fileID: 0} m_PhysicsMaterial2D: {fileID: 0} @@ -1426,10 +1432,10 @@ MonoBehaviour: autoConfigureJellySprite: 1 stiffness: 2.6 dampingRatio: 0.4 - mass: 0.6 + mass: 0.2 gravityScale: 0 drag: 0 - angularDrag: 0.6 + angularDrag: 0.2 playerJiggleStrength: 26 randomVariation: 0.5 horizontalSpread: 0 @@ -1440,6 +1446,7 @@ MonoBehaviour: useContactPointPhysics: 1 showDebugGizmos: 0 showDebugLog: 0 + minCollisionInterval: 0.5 --- !u!1 &2923753872445894696 GameObject: m_ObjectHideFlags: 0 @@ -1574,14 +1581,14 @@ MonoBehaviour: m_SphereRadius: 0.25 m_DistanceExponent: 2 m_Stiffness: 2.6 - m_Mass: 0.6 + m_Mass: 0.2 m_LockRotation: 1 m_GravityScale: 0.5 m_UseGravity: 1 m_CollideConnected: 0 m_CentralBodyKinematic: 0 m_Drag: 0 - m_AngularDrag: 0.6 + m_AngularDrag: 0.2 m_RadiusPoints: 8 m_GridColumns: 4 m_GridRows: 4 @@ -1617,10 +1624,10 @@ MonoBehaviour: autoConfigureJellySprite: 1 stiffness: 2.6 dampingRatio: 0.4 - mass: 0.6 + mass: 0.2 gravityScale: 0.5 drag: 0 - angularDrag: 0.6 + angularDrag: 0.2 playerJiggleStrength: 26 randomVariation: 0.5 horizontalSpread: 0 @@ -1631,6 +1638,7 @@ MonoBehaviour: useContactPointPhysics: 1 showDebugGizmos: 0 showDebugLog: 0 + minCollisionInterval: 0.5 --- !u!1 &3248000529601252918 GameObject: m_ObjectHideFlags: 0 @@ -1765,14 +1773,14 @@ MonoBehaviour: m_SphereRadius: 0.25 m_DistanceExponent: 2 m_Stiffness: 2.6 - m_Mass: 0.6 + m_Mass: 0.2 m_LockRotation: 1 m_GravityScale: 0 m_UseGravity: 1 m_CollideConnected: 0 m_CentralBodyKinematic: 0 m_Drag: 0 - m_AngularDrag: 0.6 + m_AngularDrag: 0.2 m_RadiusPoints: 8 m_GridColumns: 4 m_GridRows: 4 @@ -1808,10 +1816,10 @@ MonoBehaviour: autoConfigureJellySprite: 1 stiffness: 2.6 dampingRatio: 0.4 - mass: 0.6 + mass: 0.2 gravityScale: 0 drag: 0 - angularDrag: 0.6 + angularDrag: 0.2 playerJiggleStrength: 26 randomVariation: 0.5 horizontalSpread: 0 @@ -1822,6 +1830,7 @@ MonoBehaviour: useContactPointPhysics: 1 showDebugGizmos: 0 showDebugLog: 0 + minCollisionInterval: 0.5 --- !u!1 &3574105332676644573 GameObject: m_ObjectHideFlags: 0 @@ -2133,23 +2142,23 @@ MonoBehaviour: - {x: 0, y: 0, z: 0} - {x: 0.14658678, y: -0.04138398, z: 0} - {x: 0.08151466, y: 0.39879036, z: 0} - - {x: -0.000000027210339, y: 0.6225, z: 0} - - {x: -1.209332, y: 1.2748334, z: 0} - - {x: -0.6225, y: -0.000000054420678, z: 0} - - {x: -0.4401739, y: -0.44017404, z: 0} - - {x: 0.000000007423238, y: -0.6225, z: 0} - - {x: 0.9583912, y: 1.5145428, z: 0} + - {x: -1.2054038, y: 0.89212966, z: 0} + - {x: -1.193471, y: 1.4096489, z: 0} + - {x: -0.64629084, y: 1.6257101, z: 0} + - {x: 0.043573678, y: 1.796167, z: 0} + - {x: 0.75337744, y: 1.3283508, z: 0} + - {x: 0.7442734, y: 1.8714058, z: 0} m_FreeModeBodyRadii: - 0.74700004 - 0.74700004 - 0.74700004 - - 0.74700004 - - 0.17447793 - - 0.74700004 - - 0.74700004 - - 0.74700004 - - 0.17824459 - m_FreeModeBodyKinematic: 000000000101010101 + - 0.2 + - 0.2 + - 0.2 + - 0.2 + - 0.2 + - 0.2 + m_FreeModeBodyKinematic: 000000010101010101 m_MassStyle: 1 m_PhysicsMaterial: {fileID: 0} m_PhysicsMaterial2D: {fileID: 0} @@ -2162,14 +2171,14 @@ MonoBehaviour: m_SphereRadius: 0.25 m_DistanceExponent: 2 m_Stiffness: 2.6 - m_Mass: 0.6 + m_Mass: 0.1 m_LockRotation: 1 m_GravityScale: 0 m_UseGravity: 1 m_CollideConnected: 0 m_CentralBodyKinematic: 0 m_Drag: 0 - m_AngularDrag: 0.6 + m_AngularDrag: 0 m_RadiusPoints: 8 m_GridColumns: 4 m_GridRows: 4 @@ -2205,10 +2214,10 @@ MonoBehaviour: autoConfigureJellySprite: 1 stiffness: 2.6 dampingRatio: 0.4 - mass: 0.6 + mass: 0.2 gravityScale: 0 drag: 0 - angularDrag: 0.6 + angularDrag: 0.2 playerJiggleStrength: 26 randomVariation: 0.5 horizontalSpread: 0.5 @@ -2219,6 +2228,7 @@ MonoBehaviour: useContactPointPhysics: 1 showDebugGizmos: 0 showDebugLog: 0 + minCollisionInterval: 0.5 --- !u!1 &5075662245161426955 GameObject: m_ObjectHideFlags: 0 @@ -2365,20 +2375,20 @@ MonoBehaviour: - {x: 0.44017395, y: 0.44017395, z: 0} - {x: -0.000000027210339, y: 0.6225, z: 0} - {x: -1.172491, y: 1.2367027, z: 0} - - {x: 0.46854985, y: 1.5927606, z: 0} - - {x: 0.11850715, y: -0.3987906, z: 0} - - {x: 0.20002139, y: -0.61560273, z: 0} - - {x: 0.4401741, y: -0.4401738, z: 0} + - {x: 0.36960483, y: 1.5861645, z: 0} + - {x: -1.0094657, y: 1.6724579, z: 0} + - {x: 0.72113156, y: 1.0994437, z: 0} + - {x: -0.24584413, y: 1.6376708, z: 0} m_FreeModeBodyRadii: - 0.74700004 - 0.74700004 - 0.74700004 - 0.74700004 - - 0.1902538 - - 0.13039541 - - 0.74700004 - - 0.74700004 - - 0.74700004 + - 0.2 + - 0.2 + - 0.2 + - 0.2 + - 0.2 m_FreeModeBodyKinematic: 000000000101010101 m_MassStyle: 1 m_PhysicsMaterial: {fileID: 0} @@ -2392,14 +2402,14 @@ MonoBehaviour: m_SphereRadius: 0.25 m_DistanceExponent: 2 m_Stiffness: 2.6 - m_Mass: 0.6 + m_Mass: 0.1 m_LockRotation: 1 m_GravityScale: 0 m_UseGravity: 1 m_CollideConnected: 0 m_CentralBodyKinematic: 0 m_Drag: 0 - m_AngularDrag: 0.6 + m_AngularDrag: 0 m_RadiusPoints: 8 m_GridColumns: 4 m_GridRows: 4 @@ -2435,10 +2445,10 @@ MonoBehaviour: autoConfigureJellySprite: 1 stiffness: 2.6 dampingRatio: 0.4 - mass: 0.6 + mass: 0.2 gravityScale: 0 drag: 0 - angularDrag: 0.6 + angularDrag: 0.2 playerJiggleStrength: 26 randomVariation: 0.5 horizontalSpread: 0.5 @@ -2449,6 +2459,7 @@ MonoBehaviour: useContactPointPhysics: 1 showDebugGizmos: 0 showDebugLog: 0 + minCollisionInterval: 0.5 --- !u!1 &6529096894258932369 GameObject: m_ObjectHideFlags: 0 @@ -2658,21 +2669,21 @@ MonoBehaviour: - {x: 0.6225, y: 0, z: 0} - {x: 0.44017395, y: 0.44017395, z: 0} - {x: -0.000000027210339, y: 0.6225, z: 0} - - {x: -0.6098989, y: 1.510529, z: 0} - - {x: -0.7927815, y: 0.90713453, z: 0} + - {x: -0.8233565, y: 1.421175, z: 0} + - {x: -0.7927815, y: 0.87734985, z: 0} - {x: 0.73252964, y: 1.0394598, z: 0} - - {x: -0.13741446, y: 1.1988056, z: 0} + - {x: -0.057988286, y: 1.5512592, z: 0} - {x: 0.55080867, y: 1.4461473, z: 0} m_FreeModeBodyRadii: - 0.74700004 - 0.74700004 - 0.74700004 - 0.74700004 - - 0.39204717 - - 0.2076559 - - 0.74700004 - - 0.74700004 - - 0.74700004 + - 0.2 + - 0.2 + - 0.2 + - 0.2 + - 0.2 m_FreeModeBodyKinematic: 000000000101010101 m_MassStyle: 1 m_PhysicsMaterial: {fileID: 0} @@ -2729,10 +2740,10 @@ MonoBehaviour: autoConfigureJellySprite: 1 stiffness: 2.6 dampingRatio: 0.4 - mass: 0.6 + mass: 0.2 gravityScale: 0 drag: 0 - angularDrag: 0.6 + angularDrag: 0.2 playerJiggleStrength: 26 randomVariation: 0.5 horizontalSpread: 0 @@ -2743,6 +2754,7 @@ MonoBehaviour: useContactPointPhysics: 1 showDebugGizmos: 0 showDebugLog: 0 + minCollisionInterval: 0.5 --- !u!1 &7602269929649829496 GameObject: m_ObjectHideFlags: 0 @@ -3023,10 +3035,10 @@ MonoBehaviour: autoConfigureJellySprite: 1 stiffness: 2.6 dampingRatio: 0.4 - mass: 0.6 + mass: 0.2 gravityScale: 0 drag: 0 - angularDrag: 0.6 + angularDrag: 0.2 playerJiggleStrength: 26 randomVariation: 0.5 horizontalSpread: 0.5 @@ -3037,6 +3049,7 @@ MonoBehaviour: useContactPointPhysics: 1 showDebugGizmos: 0 showDebugLog: 0 + minCollisionInterval: 0.5 --- !u!1 &7963900580448488898 GameObject: m_ObjectHideFlags: 0 @@ -3145,19 +3158,19 @@ MonoBehaviour: - {x: -0.000000027210339, y: 0.6225, z: 0} - {x: -0.88330966, y: 0.7174618, z: 0} - {x: 0.6066874, y: 1.6325037, z: 0} - - {x: -0.4755512, y: 1.6085504, z: 0} - - {x: 0.20002139, y: -0.61560273, z: 0} + - {x: -0.8432715, y: 1.34254, z: 0} + - {x: -0.08163679, y: 1.6846044, z: 0} - {x: 1.0965126, y: 1.1407871, z: 0} m_FreeModeBodyRadii: - 0.74700004 - 0.74700004 - 0.74700004 - 0.74700004 - - 0.14815105 - - 0.38369834 - - 0.48749873 - - 0.74700004 - - 0.1641202 + - 0.2 + - 0.2 + - 0.2 + - 0.2 + - 0.2 m_FreeModeBodyKinematic: 000000000101010101 m_MassStyle: 1 m_PhysicsMaterial: {fileID: 0} @@ -3214,10 +3227,10 @@ MonoBehaviour: autoConfigureJellySprite: 1 stiffness: 2.6 dampingRatio: 0.4 - mass: 0.6 + mass: 0.2 gravityScale: 0 drag: 0 - angularDrag: 0.6 + angularDrag: 0.2 playerJiggleStrength: 26 randomVariation: 0.5 horizontalSpread: 0 @@ -3228,6 +3241,7 @@ MonoBehaviour: useContactPointPhysics: 1 showDebugGizmos: 0 showDebugLog: 0 + minCollisionInterval: 0.5 --- !u!1 &8090849560985679930 GameObject: m_ObjectHideFlags: 0 @@ -3344,11 +3358,11 @@ MonoBehaviour: - 0.74700004 - 0.74700004 - 0.74700004 - - 0.6363653 - - 0.3182907 - - 0.74700004 - - 0.2260952 - - 0.19382659 + - 0.2 + - 0.2 + - 0.2 + - 0.2 + - 0.2 m_FreeModeBodyKinematic: 000000000101010101 m_MassStyle: 1 m_PhysicsMaterial: {fileID: 0} @@ -3405,10 +3419,10 @@ MonoBehaviour: autoConfigureJellySprite: 1 stiffness: 2.6 dampingRatio: 0.4 - mass: 0.6 + mass: 0.2 gravityScale: 0 drag: 0 - angularDrag: 0.6 + angularDrag: 0.2 playerJiggleStrength: 26 randomVariation: 0.5 horizontalSpread: 0 @@ -3419,6 +3433,7 @@ MonoBehaviour: useContactPointPhysics: 1 showDebugGizmos: 0 showDebugLog: 0 + minCollisionInterval: 0.5 --- !u!1 &8131019705385683693 GameObject: m_ObjectHideFlags: 0 @@ -3905,10 +3920,10 @@ MonoBehaviour: autoConfigureJellySprite: 1 stiffness: 2.6 dampingRatio: 0.4 - mass: 0.6 + mass: 0.2 gravityScale: 0 drag: 0 - angularDrag: 0.6 + angularDrag: 0.2 playerJiggleStrength: 26 randomVariation: 0.5 horizontalSpread: 0 @@ -3919,3 +3934,4 @@ MonoBehaviour: useContactPointPhysics: 1 showDebugGizmos: 0 showDebugLog: 0 + minCollisionInterval: 0.5 diff --git a/Assets/Scripts/Game/BreastJigglePhysics.cs b/Assets/Scripts/Game/BreastJigglePhysics.cs index aa1f8c3..102c26a 100644 --- a/Assets/Scripts/Game/BreastJigglePhysics.cs +++ b/Assets/Scripts/Game/BreastJigglePhysics.cs @@ -90,12 +90,30 @@ public class BreastJigglePhysics : MonoBehaviour public bool showDebugLog = false; // 연속 충돌 무시 시간 - private float minCollisionInterval = 0.18f;// 0.08f;//0.2f; + public float minCollisionInterval = 0.5f; private float lastCollisionTime = -999f; private JellySprite jelly; private Vector2 lastContactPoint; + //private void Update() + //{ + // //if (Input.GetKeyDown(KeyCode.Space)) + // { + // if (Time.time - lastCollisionTime < minCollisionInterval) + // { + // if (showDebugLog) + // Debug.Log("[BreastJiggle] 충돌 간격이 너무 짧아서 무시됨"); + // return; + // } + + // lastCollisionTime = Time.time; + + // //jelly.m_Stiffness = 2.6f; + // ApplyJellyForceForPlayer(DSUtil.RandomVector(0.01f, 0.1f), playerJiggleStrength); + // } + //} + private void Awake() { jelly = GetComponent();