PhysicsSprite setRotation不好使, 在jsb里没问题

sprite旋转了,可视body没有,v2.2.2

Hi, @zhouhuab

I have tested with our chipmunk test case and haven’t seen problems like you said. Can you give us some test code or a online test page ?

Huabin

对不起,忘了说我没有把body加到space里,加到space的body是没问题。jsb没问题。

If the body hasn’t been added to the space, then it won’t get updated correctly by the physic world, so it’s possible that it doesn’t rotate with your sprite. But why do you have such need ?

cocos2dx里面可以工作,因为有些物体我想使用到碰撞检测,但是又不想被重力影响, 但是可以被程序移动旋转。