From 9f6bd2d131cdd9f952de52df0dfbc4dc81b8e09f Mon Sep 17 00:00:00 2001 From: BOTAlex Date: Mon, 4 Mar 2024 17:18:31 +0100 Subject: [PATCH] Ignore player and rope collision --- Assets/Prefabs/Networked/RopePoint.prefab | 2 +- Assets/Scripts/Rope/RopeSimulator.cs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Assets/Prefabs/Networked/RopePoint.prefab b/Assets/Prefabs/Networked/RopePoint.prefab index 8fae474..d0bccb6 100644 --- a/Assets/Prefabs/Networked/RopePoint.prefab +++ b/Assets/Prefabs/Networked/RopePoint.prefab @@ -51,7 +51,7 @@ CircleCollider2D: m_Bits: 0 m_ExcludeLayers: serializedVersion: 2 - m_Bits: 0 + m_Bits: 128 m_LayerOverridePriority: 0 m_ForceSendLayers: serializedVersion: 2 diff --git a/Assets/Scripts/Rope/RopeSimulator.cs b/Assets/Scripts/Rope/RopeSimulator.cs index 2ae0719..ce552f7 100644 --- a/Assets/Scripts/Rope/RopeSimulator.cs +++ b/Assets/Scripts/Rope/RopeSimulator.cs @@ -274,7 +274,6 @@ public class RopeSimulator : NetworkBehaviour rigidBody.isKinematic = true; } - Debug.Break(); } private void DrawRope()