You might have seen some devlogs of mine about Physics Engines right? If not, they must be on my profile. Well guess what, I abandoned that project. Yes. But for the good. A week ago I got my hands on Verlet Integration. So I started to make a newer Physics Engine for Roblox Studio. 2 dimensional though. It is fun to make it, until you get stuck on a problem for a whole week. Which, for me was Collision Response.
After a few days of doing absolutely nothing but brainstorming, I got a fine but shabby Collision Response done.
Here’s the outcome.
Welp, too early for me to call that finished. They clip into each other since I went for Circle - Line elastic collisions. I need to firm this out a LOT before I release it.
Well its just math (verlet integration), you can read more about it on the wiki, since its quite a large topic. I also made a post explaining how I made it: