cocos2dx加刚体后,轨迹改变

        for (int i = 0; i < 36; i++) {
            auto action1 = MoveBy::create(10.0f, Vec2(2*winSize.height * cos(10*i/180.0f * PI),
                                                      2*winSize.height * sin(10*i/180.0f * PI)));
            
            auto sprite1 = Sprite::createWithTexture(plane->getTexture(),buller_rect);
            auto body = PhysicsBody::createBox(sprite1->getContentSize());
            sprite1->setPhysicsBody(body);
            sprite1->setPosition(Vec2(PlanePos.x - 70, PlanePos.y));
            bulletBatchNode->addChild(sprite1);
        
            auto sprite2 = Sprite::createWithTexture(plane->getTexture(),buller_rect);
            sprite2->setPosition(Vec2(PlanePos.x + 70, PlanePos.y));
            bulletBatchNode->addChild(sprite2);
            
            auto action2 = MoveBy::create(10.0f, Vec2(2*winSize.height * cos(10*i/180.0f * PI),
                                                      2*winSize.height * sin(10*i/180.0f * PI)));
            sprite1->runAction(action1);
            sprite2->runAction(action2);
        }  


```