我有两个精灵
var enemy1 = game.add.sprite(200 + 1*200,180,'enemy');
game.physics.box2d.enable(enemy1);
enemy1.body.static = true;
m_ship = game.add.sprite(150 + i * 125, 300, 'ship');
m_ship.scale.set(2);
m_ship.smoothed = false;
game.physics.box2d.enable(m_ship);
我用于碰撞检测
m_ship.body.setBodyContactCallback(enemy1, enemyCallback, this);
我希望当你的碰撞时,m_ship精灵停止移动 谢谢