{"repo":"Donitzo/godot-catenary","free":true,"listed":false,"github":"https://github.com/Donitzo/godot-catenary","clone":"git clone https://github.com/Donitzo/godot-catenary.git","description":"A dynamic catenary shader for Godot engine (hanging chains, ropes etc.)","language":"GDScript","stars":24,"topics":["catenary","game-development","gamedev","godot","godot3"],"license":"MIT","category":"game-templates","readme_excerpt":"godot-catenary A dynamic catenary node and shader for Godot engine (for hanging chains, ropes etc.). In physics and geometry, a catenary is the curve that an idealized hanging chain or cable assumes under its own weight when supported only at its ends in a uniform gravitational field Wiki Example of the node in action: About The idea came from this excellent tutorial by Alan Zucconi, in which he describes the math behind catenaries. I used these formulas plus some original ideas to implement a new catenary node type in Godot. Notable improvements are: 1. The model will be scaled evenly along the entire curve 2. Support for swinging catenaries 3. GPU-driven rendering and animations How to use This repository contains a demo Godot project in the src folder which will demonstrate the usage of the catenary node. To use the node in your own project, simply Copy these two files: The Catenary node acts as the starting point for the curve. The target path points towards another node which will act as the end point of the curve. The catenary node can be used ingame or in the editor, as it is a tool. There are a number of parameters to set before the node works: The length parameter adjusts the actual length of the cable/rope. If the length is longer than the distance between the start and end point, the curve will sag. Last words I hope you find this tool useful. Please raise an issue if you discover a bug or just have general feedback.","default_branch":null,"files":null,"tree":[],"storefront":"/r/Donitzo","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Donitzo/godot-catenary/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}