[LayaAirIDE 2.0]我用 RopeJoint 把两个物体链接起来,我想点击屏幕断开物体之间的连接怎么写脚本?

我用 RopeJoint 把两个物体链接起来,我想点击屏幕断开物体之间的连接怎么写脚本?
已邀请:

bpmf_d

赞同来自:

(this.yuan.getComponent(Laya.RopeJoint) as Laya.RopeJoint).destroy();
把这个关节清掉 自然就断开了

要回复问题请先

商务合作
商务合作