Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coolcatcoder/flexsharpunity
An implementation of Nvidia Flex in Unity!
https://github.com/coolcatcoder/flexsharpunity
fluid-simulation nvidia-flex unity unity3d
Last synced: about 1 month ago
JSON representation
An implementation of Nvidia Flex in Unity!
- Host: GitHub
- URL: https://github.com/coolcatcoder/flexsharpunity
- Owner: coolcatcoder
- Created: 2022-09-14T10:43:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-27T05:57:41.000Z (about 2 years ago)
- Last Synced: 2023-03-10T03:06:25.597Z (almost 2 years ago)
- Topics: fluid-simulation, nvidia-flex, unity, unity3d
- Language: C#
- Homepage:
- Size: 52.9 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FlexSharpUnity
An implementation of Nvidia Flex in Unity!
![space, with fluid](https://github.com/coolcatcoder/FlexSharpUnity/blob/main/Images(github)/space_scene.png)## Intro:
This library should allow easy developement in Unity using NvFlex in both dots and non-dots environments! (dots currently not done yet)## Current State:
Currently this library is early in development, so far this is what has been done:
- fluids
- solver parameters
- basic shape collisions (cube and sphere, no mesh support currently)
- infinite planes (occasionally causes crashes though)
- basic rendering (can render as spheres to a unity particle system currently)## How To Use:
For the most basic example all you need is a flex container with planes setup for your particles to collide with, and then an emitter to emit fluid particles!
I would highly recommend downloading the official NvFlex demo app and choosing the solver parameters based off of scenes from there (also check their manual, it is very helpful).(if you need any help, feel free to ask anything on my discord server: https://discord.gg/ps9ckAkame)
## Screenshots of Demo Scenes:
![rainbow pond](https://github.com/coolcatcoder/FlexSharpUnity/blob/main/Images(github)/pond_scene_rainbow.png)