Hi, I chose a physics engine recently. It turned out that I did not find it better than box2d.
I struggle with this engine for a long time. And while nothing comes out ... Even the manual world could not create a console world. Some authors have a discrepancy between theory and practice. Can anyone share a project where the world is just being created for example, or is something being created at all? I want to write a simple igruhu, for example, like this: Splasher Game
Thank)
Many thanks for the code! But it does not work ....
#include<Box2D\Box2D.h> #include<stdlib.h> void main(){ const b2Vec2 gravity(0.0f, -10.0f); b2World world(gravity); }
Crashes:
1>main.obj : error LNK2019: unresolved external symbol "public: __thiscall b2World::~b2World(void)" (??1b2World@@QAE@XZ) referenced in function _main error LNK2019: unresolved external symbol "public: __thiscall b2World::b2World(struct b2Vec2 const &)" (??0b2World@@QAE@ABUb2Vec2@@@Z) referenced in function _main
Of course, I understand that before the question I have to google .... I have already googled such errors, but I did not recognize anything useful .... The release link does not work ...