commit f46f2a94bf54ae144494058b2fb4c45dc1f39d43 Author: Schaken Date: Fri Jan 31 16:09:40 2025 -0500 Add Home 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