Devlog #018: Implemented friction

The physics are working pretty well now. I've replaced my previous collision detection with a functionality following the seperating axis theorum. This is a breeze to understand codewise and also works a lot more stable than the "check if lines cross" type of approach I had programmed earlier.

As you can see I've implemented friction as well. Once you understand the vector math used in SAT, this is also a pretty straightforward thing to implement (I might post a "how to" on some site if people want me to).

I'm stoked to start testing some stuff with this renewed physics system I implemented. Right now I'm building crates that can be hooked and pulled for transfer later in the game. As soon as I have some working in the game, I can start playing around with them colliding into eachother.

Get Rocket Shipment

Buy Now$8.99 USD or more

Leave a comment

Log in with to leave a comment.