c++ - How to use Box2D physics engine into an openCV project? -
i studying opencv , box2d , going diy game.this how works: first put in picture black thick lines, edge detection produce edge.
then comes trouble, want use these edges "staticbody" in box2d engine can't find way "transform" edges body.actually edges going used walls in game, , there small virtual point represents motion ball. have control point , move destination.the opencv used processing image can draw map on paper , start game.
i'm newbie on box2d way, how can do?
Comments
Post a Comment