Andrew Ens

I make games and tech demos.

View My GitHub Profile

30 November 2022

(Bad) Hard Particle Collisions

by

About

While researching physics for my Ship Crew RPG project, I explored collision mechanics for hard spheres. This was months before I properly implemented 2d character collisions, so I lacked a lot of context for how to implement collisions. The result was pretty buggy and looked more like a simulation of molecular particle interactions. I decided that other things like gravity simulation were more important, so I moved on.

Gifs

This model is dated 11/30… sphere-collisions-3.gif how-to-fix-a-bug.gif sphere-collisions-2.gif sphere-collisions-1.gif

But this demo is dated 10/28. I don’t think this demo uses the collision model up above. They’re related though so I’m keeping them in the same post.

Deterioration.gif BuggyCollision.gif WhenParticlesAreInsideEachOther.gif BilliardsBreak.gif FewParticles.gif LotsOfParticles.gif

tags: ship crew rpg - technical