An open API service indexing awesome lists of open source software.

https://github.com/nakjun/position-based-dynamics-with-unity-gpu

Position Based Dynamics with Unity GPU
https://github.com/nakjun/position-based-dynamics-with-unity-gpu

Last synced: 5 months ago
JSON representation

Position Based Dynamics with Unity GPU

Awesome Lists containing this project

README

          

# Position Based Dynamics with Unity GPU
This project implemented "Position Based Dynamics" using Unity Compute Shader.
It shows faster calculation speed when only CPU operation is used.

- Changing the xSize and ySize of the Cloth Inspector changes the number of nodes.
- Changing the width and height of the Cloth Inspector changes the size of the cloth.
- Changing the stiffness and damp values in the Cloth Inspector changes the deformation strength of the cloth.
----
## Environement
- Unity 2019.4.1f1
- C#
- Compute Shader
----
**The results of the implementation can be seen in the following video.**

[![Cloth Simulation Videos](https://img.youtube.com/vi/Y2TwC7UnMI0/0.jpg)](https://youtu.be/Y2TwC7UnMI0)