【发布时间】:2012-08-24 21:31:06
【问题描述】:
我进行了广泛的搜索,但找不到任何有关销毁焊接接头的指南或帖子。如何破坏 bodyA 和 bodyB 之间的焊缝?我通过以下方式创建了我的weldJoint。
weldJointDef.Initialize(bodyA, bodyB, bodyA->GetWorldCenter());
weldJointDef.collideConnected = false;
weldJoint = (b2WeldJoint*) world->CreateJoint(&weldJointDef);
【问题讨论】:
标签: cocos2d-iphone box2d box2d-iphone