Go into full screen mode! I promise it won't get laggy! - When pMode is set to 1, move the red and blue points around to change the collision! - When pMode is set to 2, watch everything move and react! aB is the angle of the surface segment (blue) aD is the angle of the red vector (simulating a projectile) mD is magnitude of the red vector (simulating a projectile)
Quick project I put together to single out a handy component in physics! I am currently working on a physics system, and I'm building it as I learn more and more about vectors, forces, and all that good stuff. I know that right now I don't have the knowledge to make a full 2D physics engine, but I hope to piece one together bit by bit. ;) Enjoy!