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

https://github.com/sanyabeast/verlet_rope_4_gd

A Godot addon that implements verlet-based rope physics, translated from C# to GDScript with additional features like object attachment. Based on the original verlet-rope-4 implementation.
https://github.com/sanyabeast/verlet_rope_4_gd

addon game-development game-mechanics gdscript godot godot-engine physics physics-simulation rope-physics verlet-integration

Last synced: 9 months ago
JSON representation

A Godot addon that implements verlet-based rope physics, translated from C# to GDScript with additional features like object attachment. Based on the original verlet-rope-4 implementation.

Awesome Lists containing this project

README

          

# ๐ŸŽฎ Verlet Rope for Godot 4

This project is a direct translation of the original Verlet Rope logic from C# to GDScript.

![Verlet Rope Demo](./misc/verlet_rope_4_gd.gif)

## ๐Ÿ‘ Credits

All credits and regards should go to the original project:
https://github.com/Tshmofen/verlet-rope-4

## โœจ Features

- ๐Ÿงต Direct translation of the original C# implementation to GDScript
- ๐Ÿ”— Special feature: Ability to attach objects to the end of the rope with position and rotation support

> ๐Ÿšจ **Note:** The object attachment feature supports both position and rotation control. You can toggle whether attached objects should follow the rope's orientation using the `rotate_attached_object` property. These features are being developed based on the needs of specific projects, so they may or may not be useful for your particular use case. Regardless, the core functionality of the original project has been successfully ported to GDScript.
>
> ๐Ÿ’ก If the current functionality doesn't suit your needs, feel free to explore older commits, open an issue, or contact me directly at [purpltie@outlook.com](mailto:purpltie@outlook.com).

## ๐Ÿ“ฅ Installation

1. ๐Ÿ“‹ Clone or download this repository
2. ๐Ÿ“ Copy the `verlet_rope_4_gd` directory into the `addons/` subdirectory of your Godot project
3. โœ… The addon is now ready to use in your project

## ๐Ÿ“š Usage

1. โž• Add the VerletRope node to your scene
2. โš™๏ธ Configure the rope parameters through the Editor

## ๐Ÿ”ง Implementation

This addon implements a verlet-based rope physics system for Godot, focusing on maintaining the same functionality as the original while adapting to Godot's environment and coding patterns.

## ๐Ÿค Contributions

Thoughts, criticism, suggestions, and contributions are welcome! Feel free to:

- ๐Ÿ› Open issues for bugs or feature requests
- ๐Ÿ”€ Submit pull requests with improvements
- ๐Ÿ’ฌ Share your experience using this addon

All feedback is appreciated and will help improve this Godot addon.

## ๐Ÿ“„ License

This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.

### Contributors:
- **Oleksander [@sanyabeast](https://github.com/sanyabeast) Haivoronskyi** - C# to GDScript translation with additional features
- **Timofey [@tshmofen](https://github.com/tshmofen) Ivanov** - 2024 - *Current Maintainer*
- **Zae [@zaevi](https://github.com/zaevi) Chao** - 2023
- **Shashank C** - 2021 - Original work