2

我进行了广泛的搜索,但找不到任何关于破坏焊接接头的指南或帖子。如何破坏 bodyA 和 bodyB 之间的焊缝?我通过以下方式创建了我的weldJoint。

    weldJointDef.Initialize(bodyA, bodyB, bodyA->GetWorldCenter());
    weldJointDef.collideConnected = false;
    weldJoint = (b2WeldJoint*) world->CreateJoint(&weldJointDef);
4

1 回答 1

2
world->DestroyJoint( weldJoint );
于 2012-08-25T07:23:56.543 回答