From f46f2a94bf54ae144494058b2fb4c45dc1f39d43 Mon Sep 17 00:00:00 2001 From: Schaken Date: Fri, 31 Jan 2025 16:09:40 -0500 Subject: [PATCH] Add Home --- Home.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Home.md diff --git a/Home.md b/Home.md new file mode 100644 index 0000000..412abbe --- /dev/null +++ b/Home.md @@ -0,0 +1,19 @@ +Cloth Weightmap Tool + +once you have a cloth component on a skinnedMeshRednerer, right click it, and select "Add weight helper". +Add the texture, then adjust as needed. +press "Show Gizmo" to show Gizmos. +"Set Vertex Weights" will apply the new settings to each vertice. +You can remove this component when done. Not needed in game. + +Tutorial Video: https://youtu.be/k6i9wZKfiEg +Purchase: https://payhip.com/b/lpCnU + +API: +public Cloth cloth; // Assign the Cloth component +public Texture2D gradientTexture; // Assign the gradient texture. make sure it has read/write permissions +public float Min = 0; // The minimum value to assign to a vertice using this tool +public float Mid = 0.1f; // adjusts the curve point between the min and max. +public float Max = 0.9f; // The maximum value to assign to a vertice using this tool +public float GizmoSize = 0.01f; // The size of gizmos to represent each vertice +public bool DrawGizmo = false; // To show gizmos \ No newline at end of file