I'm trying to use Box2D to control sprite movement.Some burning issues are these:
1.When I trying to move the sprite on a slope or a lean barrier. The sprite will move off the slope which is not what I want.
2.ALternatively, I could use setPosition or CCAction which provides by cocos2d-x to move the sprite and update the body position use SetTransform. But the body will lost it's physical limitation, it will passthrough other body.
Thanks for your time, if you guys got any solution?