用鼠标旋转c ++ Box2d对象

时间:2018-12-08 06:33:35

标签: c++ box2d

我在box2d中比较新鲜,我在c ++ box2d中从事弓箭游戏。现在我想用鼠标做大炮旋转。请给我一个正确的代码。

cannonShape.SetAsBox(2,0.7);     b2FixtureDef cannonFixture; csv_logger = CSVLogger('training.log') model.fit(X_train, Y_train, callbacks=[csv_logger])     cannonFixture.shape =&cannonShape;

enter code here

0 个答案:

没有答案