cuberact-library
GDExtension for Godot 4.5+
A growing collection of GDExtension components for Godot 4.5+.
Check the installed version at runtime: CuberactLib.get_version()
Supported Platforms
Installation
Option A — Godot Asset Library
Install directly from the Godot editor's AssetLib tab.
Option B — GitHub Release
Download the latest ZIP from Releases,
extract cuberact-library/ into your project's addons/ folder, reopen in Godot.
Option C — Clone the full repository
git clone https://github.com/cuberact/godot-cuberact-library.git Links
- X / Twitter — news and updates
- GitHub Repository
- itch.io Page
- YouTube Channel
CRope2D
2D Rope Physics Simulation
2D rope physics simulation built on Verlet integration. Supports collisions, anchoring, and a modular system for forces, rendering, line processing, and breaking.
CRope2D (Node2D)
├── data: CRopeData — point positions, segment length
├── anchors: CRopeAnchor[] — attach rope points to nodes
├── force_modules: CRopeForceMod[] — gravity, wind, magnets, custom
├── line_modules: CRopeLineMod[] — smooth, simplify, subdivide, custom
├── break_modules: CRopeBreakMod[] — tension break, custom
└── render_modules: CRopeRenderMod[] — direct, Line2D, debug, custom Key Features
- Verlet integration with configurable stiffness and damping
- Collision support (StaticBody2D, RigidBody2D, CharacterBody2D)
- Anchor system with two-way physical interaction on RigidBody2D
- Modular architecture — forces, line processing, breaking, and rendering are all interchangeable modules
- Custom modules in GDScript — no C++ required
- Debug probe for performance profiling
Built-in Modules
Force Modules
CRopeGravityForceMod— constant gravityCRopeWindForceMod— oscillating windCRopeMagnetForceMod— attract/repel toward a node
Line Modules
CRopeSmoothLineMod— Laplacian smoothingCRopeSimplifyLineMod— Ramer-Douglas-PeuckerCRopeSubdivideLineMod— Chaikin subdivision
Render Modules
CRopeDirectRenderMod— lightweight canvas drawCRopeLine2DRenderMod— Line2D with gradient & materialCRopeDebugRenderMod— tension, forces, velocity overlay
Break Modules
CRopeTensionBreakMod— breaks when stretch exceeds threshold
API Reference
Full documentation of all properties, methods, and signals is available in the CRope2D API Reference on GitHub. The same documentation is also built into Godot's editor help system.
14 Example Scenes
Each example demonstrates specific features — stiffness & damping, gravity, magnets, simplify/subdivide, custom GDScript render modules, debug overlay, rope breaking, pendulum, collisions, playground, grappling hook, stress test, and a boulder network.
Controls
| Input | Action |
|---|---|
| LMB / RMB | Drag physics bodies or anchors |
| MMB drag | Pan camera |
| MMB click | Toggle boulder gravity |
| Mouse wheel | Zoom camera |
| R | Reset camera |
| F1 | Show/hide controls overlay |
| F2 | Show/hide FPS and debug probe |
| ESC | Back to launcher |
Try it in your browser
All 14 example scenes running directly in the browser via Godot's web export.
Launch Examples →License
Free for learning, prototyping, and game jams. A paid license is required when you publish a game. See LICENSE.md for full terms.