I got collision to work!!!!!! After fighting with my terrible pixel → meter & meter → pixel conversion code, I finally got object-surface collision working. I started adding friction as well. Once friction works, I’m planning on trying to allow for sloped surfaces and rigid body tilts. I might take a break from normal Newtonian physics and try some space physics (or maybe fluid dynamics :0). I still need to decide if I want to make this into a physics library or just a simulator.
Log in to leave a comment