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
- Host: GitHub
- URL: https://github.com/nakjun/position-based-dynamics-with-unity-gpu
- Owner: nakjun
- Created: 2022-01-17T08:05:50.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-18T14:03:57.000Z (over 1 year ago)
- Last Synced: 2024-05-18T15:22:45.514Z (over 1 year ago)
- Language: C#
- Size: 466 KB
- Stars: 6
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.**
[](https://youtu.be/Y2TwC7UnMI0)