Trying to replicate what this legend did: https://youtu.be/kCGHXlLR3l8
This repository is still currently under development, so everything is still in testing mode. A lot of things will break, download at your own risk :/
Disclaimer: This project is in a paused state so there won't be more updates. In the future, if there are any changes to this project, I will post an issue update on this repository. Stay tune!
My goal is to replicate what this legend did: https://youtu.be/kCGHXlLR3l8 (A smooth and interactive cloth simulation)
Currently, my cloth simulation uses Postion Based Dynamics and supports:
Features comming soon:
Check out my YouTube Playlist where I record my journey on how I approach this problem!
Support me on Patreon so that I can allocate more time to work on this project!
*Note: The GPU version is not fully developed yet, this tutorial section will not work for the GPU version.
StreamingAssets
folder.CPUClothSimulation.cs
or GPUClothSimulation.cs
script onto the GameObject. (Check Cloth Configurations for more cloth parameters' information.)Select JSON File
.Load Data from JSON
.Front Material
and Back Material
.Build Mesh
to build the mesh that you have modeled in Blender.Create Back Side
to build the other side of the mesh.Apply Materials
to apply materials on both sides.These are the similar parameters in both CPU and GPU Cloth Simulation:
This determines the front material and back material for the cloth.
Tweak these parameters to change the behaviour for the cloth.
Tweak these parameters to balance between accuracy and performance.
This project is under MIT License.