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

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




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 ?





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