diff --git a/.gitignore b/.gitignore index 4c62027..0102e88 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,8 @@ /[Bb]uilds/ /[Ll]ogs/ /[Mm]emoryCaptures/ +/[Cc]apture*/ +/[Uu]serSettings/ # Never ignore Asset meta data !/[Aa]ssets/**/*.meta @@ -21,6 +23,7 @@ # Visual Studio cache directory .vs/ +.vscode/ .vsconfig # Gradle cache directory diff --git a/Assets/Demo/Demo.unity b/Assets/Demo/Demo.unity index c808194..f345332 100644 --- a/Assets/Demo/Demo.unity +++ b/Assets/Demo/Demo.unity @@ -158,7 +158,7 @@ MonoBehaviour: createCollider: 1 showDebugMesh: 1 itr: 25 - speed: 0.05 + speed: 0.8 triangleIndices: e438000064380000763900006b3b000096200000aa1f00006c210000f52200007d21000013230000ee39000075360000553700005f3a0000f4610000d4620000 --- !u!1 &705507993 GameObject: @@ -370,7 +370,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 + m_IsActive: 0 --- !u!199 &1624661422 ParticleSystemRenderer: serializedVersion: 6 diff --git a/Assets/Demo/Demo3D_Index.cs b/Assets/Demo/Demo3D_Index.cs index a36cb0f..e78bc2b 100644 --- a/Assets/Demo/Demo3D_Index.cs +++ b/Assets/Demo/Demo3D_Index.cs @@ -30,7 +30,7 @@ void Update() { anim.speed = speed; aqh.Execute(itr); var m = aqh.CreateMesh(); - cld.sharedMesh = m; + if(cld != null) cld.sharedMesh = m; if (showDebugMesh) Graphics.DrawMesh(m, V3.zero, Quaternion.identity, mat, 0); } diff --git a/Packages/manifest.json b/Packages/manifest.json index 866e7bf..bf159d5 100644 --- a/Packages/manifest.json +++ b/Packages/manifest.json @@ -5,7 +5,6 @@ "com.unity.ide.visualstudio": "2.0.7", "com.unity.ide.vscode": "1.2.3", "com.unity.mathematics": "1.2.1", - "com.unity.recorder": "2.5.5", "com.unity.test-framework": "1.1.24", "com.unity.textmeshpro": "3.0.4", "com.unity.timeline": "1.5.4", diff --git a/Packages/packages-lock.json b/Packages/packages-lock.json index 73ed302..7764b64 100644 --- a/Packages/packages-lock.json +++ b/Packages/packages-lock.json @@ -44,15 +44,6 @@ "dependencies": {}, "url": "https://packages.unity.com" }, - "com.unity.recorder": { - "version": "2.5.5", - "depth": 0, - "source": "registry", - "dependencies": { - "com.unity.timeline": "1.0.0" - }, - "url": "https://packages.unity.com" - }, "com.unity.test-framework": { "version": "1.1.24", "depth": 0, diff --git a/README.md b/README.md index fa57972..87ba3a6 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,10 @@ Since this module generates a mesh, it is possible to use output mesh as a colli ## 2D Convexhull - + ## 3D Convexhull - + ## Usage You can assign specific vertex on scene view to include convex calculation.