刚体动不起来

cc.Class({
    extends: cc.Component,

    onLoad() {
        this.rigidBody = this.getComponent(cc.RigidBody);
    },

    start() {
        this.rigidBody.applyLinearImpulse(cc.v2(1000,1000), this.rigidBody.getWorldPosition(), true);
    }
});

cc.director.getPhysicsManager().enabled = true; 物理模拟有开启么?

开启了

我试了几个方法,刚体都不动,设置重力和在属性栏里设置Linear Velocity能够让刚体动起来,但脚本不起作用也不报错

解决了,是我模式设置错了,设置成dynamic模式才能用力驱动