Posted February 24, 2024 by EthanAShulman
#physics #simulation #math
To create the physics engine I started by creating the line based polygon collider code, since all the fruits would be different shapes I needed a flexible collider shape. Once I had the collider collision solution I had what I needed and jumped straight in to writing the physics simulation. Creating a 2D physics engine from scratch is a big challenge and I'm very happy I was able to get this games physics stable.