This is a custom made Blender Addon that is targeted for the use case of my GPUClothSimulationInUnity project. This add-on converts any face with more than 3 vertices into proportional triangles (optional) and then exports it into a JSON file.
- Zip this repository in a
.zip
file or download a release. - Open Blender, go to
Edit > Preferences > Add-ons > Install
and choose the.zip
file. - In the 3D View port, press
n
to view the side bar. - Select
Cloth Exporter
in the side bar. - Select a Mesh in the scene and press
Tab
into edit mode. - Once you are satisfied with the mesh, press
Transform to PBD
. - Choose your export location and export filename.
- Press
Export Data for Unity
. - You will get an exported JSON file.
This project is under the GNU Public License, Version 3.