このチュートリアルでアプリケーションを作成しています。
https://www.makegameswith.us/tutorials/getting-started-with-spritebuilder/spritebuilder-physics/
このようなコードで直接joinnodeを作成しました
_mouseJoint = [CCPhysicsJoint connectedSpringJointWithBodyA:_mouseJointNode.physicsBody bodyB:_catapultArm.physicsBody anchorA:ccp(0, 0) anchorB:ccp(34, 138) restLength:0.f stiffness:3000.f damping:150.f];
確かに 2 つのノードが同じ CCPhysicNode の下にありますが、
このエラーが表示されます
Bodies connected by a joint must be added to the same CCPhysicsNode,
誰かがこれと同じ問題を抱えていますか?