Today, After working for 3 hours, I have made my first library: CodeaBalls !
It let’s you create soft bodies/balls, But they are not light, They use alot of cpu.
Import Project Code: https://gist.github.com/RamiLego4Game/5cd265bbb238a58fd695
If you want to try the demo, Run the project, Or import it in your game.
Video: https://youtu.be/mHJkGhA8Gt0
Do not set high frequency for the ball or you’ll get something like this: https://youtu.be/1J4qipDaQBk
Thanks for IndieRetro/Shorefire (In love2d.org) for creating the tutorial in his blog: http://www.indieretro.co.uk/blog/2015/2/4/softbody-physics-with-box2d
Note: I’m using meshes to fill the ball !