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

https://github.com/0jamzey0/rope-simulation

Verlet Integration for Rope Simulation in Unity using C#
https://github.com/0jamzey0/rope-simulation

game-development simulation unity

Last synced: 2 months ago
JSON representation

Verlet Integration for Rope Simulation in Unity using C#

Awesome Lists containing this project

README

          

# Rope-Simulation
Verlet Integration for Rope Simulation in Unity using C#

**_It has an Option to Use a line Renderer to render the rope points or use a Mesh to render the line for a 3d Rope_**

Note that The **iterations** Parameter is crucial in terms of performance . Higher value for better simulation but results in a higher processing time
Rope supports adding End anchor point and if left null , it would be ignored.

# Upcoming Updates
* Support the attachment of objects or Rigidbodies along any or point on the rope other than the start or end. ✔
* Imporved quality of mesh deformation ✔
* More Performance optimizations ✔

# Updated Version (Legacy no longer supported)
* Added Tearing Constraints
* Added Performance Levels
* Improved Collision detection and handling for more accurate collisions
* Fixed the 3D mesh having a fliped out faces making the mesh look hollow
* Supported adding n-1 rigidbodies elements to the rope (where n = rope points)
* Auto assign Start transform to the Current object's transform in case left unassigned
* Fixed a bug where changing the rope parameters during runtime would cause the rope physics to break

[![ShowCase Video](https://img.icons8.com/color/48/000000/video.png)](https://drive.google.com/file/d/1qukUAJW9vOa2GELZYmVh3mnypm6rQSSv/view?usp=drive_link)
![Rope Simulation](image.png)