https://github.com/gaeqs/elasticsolid
Elastic-Solid script for Unity.
https://github.com/gaeqs/elasticsolid
csharp physics-simulation unity unity3d videogame videogames
Last synced: 7 months ago
JSON representation
Elastic-Solid script for Unity.
- Host: GitHub
- URL: https://github.com/gaeqs/elasticsolid
- Owner: gaeqs
- License: mit
- Created: 2021-09-22T11:53:40.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-09-22T12:18:47.000Z (about 4 years ago)
- Last Synced: 2025-01-23T07:13:29.790Z (9 months ago)
- Topics: csharp, physics-simulation, unity, unity3d, videogame, videogames
- Language: C#
- Homepage:
- Size: 26.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Elastic-Solid script for Unity.
[](https://www.youtube.com/watch?v=WEVExe6nK8Y)
## Introduction
This set of scripts can be used to generate elastic solids in Unity.
The script requires a .node, .ele and .face files that can be generated using TetGen and a
mesh wrapping the mesh you want to use. The script is prepared to do this job automatically using a modified
version of TetGen. Unfortunately, I cannot share the modified TetGen due to licensing issues.## Features
- Basic forces (Gravity, Spring).
- Volume-based force that prevents the mesh from being deformed.
- Custom TetGen parser.
- Automatic spring generator.
- Substeps.
- Damping force.
- Wing force.
- Penalty collisions (normal and implicit modes).
- Fixers with mobility options.
- Optimized code.