Physics and Stuff | Cocoa Engine Devlog #4
In this episode, I get simple box physics added to the game engine. I explain a little bit of how I do spatial partitioning and how I calculate physics between dynamic objects and static objects. The physics system that I use is just doing box collision detection and resolution. For forces, I add sum over all the forces acting on each object, and add the resulting force to the object.
I also go over my animation system and how I use finite state machines to create a flexible animation system. I explain how I use a combination of an AnimationMachine and several Animations to create one big Animator for any game object.
---------------------------------------------------------------------
Website: https://ambrosiogabe.github.io/
Github: https://github.com/ambrosiogabe