π Catenaries of Gamedev β The Mathematics (1/2) (Patreon)
Content
Hi everyone! π
After a few busy weeks teaching, I finally had some time to work and publish a new tutorial series! It covers a subject that many of you are familiar with: hanging wires, cables and chains!
This new series covers the mathematics and implementation of catenaries, the mathematical objects used to model physically-accurate hanging chains.
The first post has just gone public, while the second one is available for preview for $5+ patrons!
Catenaries for Gamedev
- Part 1. The Mathematics of Catenary
- Part 2. Implementing Catenaries for Games
This tutorial is also inspired by Dr Tom Crawford's recent video on Numberphile, where he talked about catenaries and architecture.
Two Unity packages are available for this tutorial:
- The Standard package includes the code to efficiently draw 2D and 3D catenaries, along with a simple test scene;
- The Advanced package includes support for skinned models (such as 3D wires and chains), along with a cool corded cable HDRP shader.
If you end up using this tutorial, I'd love to see what you are making it! So please, feel free to share it with me!
π§π»
Files
Previews only