3.3rc2 Physics + Follow的问题

auto s = Director::getInstance()->getWinSize();
auto follow = Follow::create(role,Rect(0, 0, s.width*2, s.height));
this->runAction(follow);//this是layer
通过排查现发现问题 role因为未知的原因以s.width像素/每帧的速度增加(在代码里面没有更改role的位置),直到3万多像素停止,黑屏的原因就是当前看到的是x坐标为3万多像素的地方。auto follow = Follow::create(role,Rect(0, 0, s.width, s.height));如果这样写role的位置也不会有变化,s.width就是当前屏幕的宽度,role是物理对象
继续排查。。希望如果有谁知道位置变化的原因,能告知一下。。

自己顶一个。。

再顶一个- -