You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-22Lines changed: 21 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,39 +1,36 @@
1
1
# GDNative Ropesim
2
2
3
-
A 2D verlet integration based rope simulation for Godot 3.x. Written in C++ using GDNative for fast performance.
3
+
A 2D verlet integration based rope simulation for Godot 4.2.
4
4
5
-
The computation-heavy simulation part is written in C++, the rest in GDscript. This allows for fast processing and easy extendability, while keeping the code readable.
5
+
The computation-heavy simulation part is written in C++ using GDExtension, the rest in GDScript. This allows for fast processing and easy extendability, while keeping the code readable.
6
+
7
+
The last Godot 3.x version can be found on the [3.x branch](https://github.com/mphe/GDNative-Ropesim/tree/3.x), however, this branch will no longer receive updates.
6
8
7
9
# Setup
8
10
9
-
1. Clone or download the repository
10
-
2. Run `git submodule update --init --recursive`
11
-
3. Get the library
12
-
*[Build](#building) it yourself or
13
-
*[Download](https://github.com/mphe/GDNative-Ropesim/actions) it from the latest Github Actions workflow run and put all contained files in `demo/addons/ropesim/bin/`.
14
-
4. Copy or symlink `demo/addons` to your project or use the provided demo project.
15
-
5. Enable the addon in the project settings
16
-
6. Restart Godot
11
+
1. Get the addon
12
+
*[Download](https://github.com/mphe/GDNative-Ropesim/releases/latest) the latest release from the release page, or
13
+
*[Download](https://github.com/mphe/GDNative-Ropesim/actions) it from the latest GitHub Actions run, or
14
+
*[Compile](#building) it yourself.
15
+
2. Copy or symlink `addons/ropesim` to your project's `addons/` directory
16
+
3. Enable the addon in the project settings
17
+
4. Restart Godot
17
18
18
19
# Building
19
20
20
-
See [here](https://docs.godotengine.org/en/stable/tutorials/scripting/gdnative/gdnative_cpp_example.html) on how to compile GDNative libraries.
21
+
First, clone or download the repository and run `git submodule update --init --recursive`.
21
22
22
-
Output files are saved to `demo/addons/ropesim/bin/`.
23
+
See [here](https://docs.godotengine.org/en/latest/tutorials/scripting/gdextension/gdextension_cpp_example.html#doc-gdextension-cpp-example) on how to create and compile GDExtension libraries.
0 commit comments