Hi all I don't know I did anything wrong. After creating scene with physics (follow this http://www.cocos2d-x.org/docs/manual/framework/native/physics/physics-integration/en ), My target is to make the ball to move with the same speed in a "rectangle cage" as in a game Breakout. Here is my code
ball = Sprite::create("ball.png");
ball->setPosition(visibleSize.width/2 + origin.x,visibleSize.height/2 + origin.y);
auto ballBody = PhysicsBody::createCircle(ball->getContentSize().width/2);
Run -> the ball doesn't move ...