I am following this fantastic #XPBD tutorial in #Bevy by @johanhelsing and I highly recommend it after learning some of the basics of Bevy 😍

https://johanhelsing.studio/posts/bevy-xpbd/

The tutorial isn't complete yet, but the first 6 parts are already a lot of material!

The attached GIF is the result of the first part ✨

@johanhelsing thank you for this treasure 🥰

PS: I know there is the physics library bevy_xpbd, but I want to implement XPBD from scratch for learning :D

#RustLang #Rust

Tutorial: Making a physics engine with Bevy

In a sudden and ambitious outburst of not-invented-here syndrome combined with hype-train, I decided there weren't enough physics engines out there and it would be a good idea to write one myself using all the latest buzzwords. In this tutorial series, I'll explain step-by-step how to build an extended position-based dynamics (XPBD) rigid-body physics engine using entity component system (ECS) architecture in rust.

Johan Helsing Studio