物理碰撞检测

用碰撞检测怎么获得 物理对象里面绑定的脚本方法 有谁知道吗
onBeginContact: function (contact, selfCollider, otherCollider) {
cc.log(“begin 测试”+contact + " > “+selfCollider.node.x+” > "+otherCollider.node.x);
// contact.disabled = true;
// otherCollider.node.tests();
},
像这个 我无法掉到 otherCollider.node.tests(); otherCollider.tests(); 都不行
谁知道这种调用有什么办法吗