← Back to experiments
Bouncy Frog
Custom Unity 2D Soft body Physics Engine
UnityPhysicsUnity Jobs
I’m a big fan of gummies and wanted to create some squishy animations. While looking around for exisiting soft physics systems I stumbled upon this paper:
I then went down the rabbit hole of trying to implement this myself in Unity. The last time I had read a paper was in college so it felt like I was in school again. Some details on my implementation:
- Built with Unity jobs system, with parallel jobs
- Implements Various constraints including area preservation, hinges, friction
- Script for triangulating SVGs to be able to create arbitrary squishy objects
I’ve yet to actually use this engine for anything but I’m sure to revisit it someday.