Open fredUmlaut opened 4 years ago
Sorry I cannot immediately try this, as it seems the code doesn't compile with old VS versions.
Ok so I managed to compile the code for vs2008 by commenting out a few asserts and defining nullptr (it turns out it was not a big deal to make it compile).
I added an initial skeleton plugin for Bounce to get things started. It only supports single-shape box actors right now, but you should be able to pick it up and improve on that if you want. Otherwise I might do it myself during the year but I don't have time right now (there would be much more urgent things for me to do in PEEL tbh).
I used the default compile flags as created by premake, and the default number of solver iterations as copied from your hello world sample.
I added the necessary Bounce include & lib files in my commit, so that you can easily recompile things yourself directly. This is not what I did for the other physics engines so tell me if you object and I'll change it.
That's it. Have fun :)
Just submitted a mini update.
The release settings used by premake were quite bad. I changed them manually within Visual Studio with what I typically use for my projects, and the lib file became 3 times smaller (and quite a bit faster).
(to be continued)
Thanks Pierre!
Bounce is a quite mature physics engine, yet simple to integrate and well suited for gamedev. It would be great if it could be included into Peel to see how it ranks against the fastest (Physx!).
https://github.com/irlanrobson/bounce
68k 4ever :)