Projects > cpp > Issues > Bug #5541

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

RotateBy/RotateTo doesn't work with PhysicsBody.

Bug #5541 [Closed]
Wuhao 2014-06-11 06:11

this is not a bug, its working as intended

boyu0 2014-06-11 07:26

@Wuhao, RotateBy and RotateTo use setRotationSkewX and setRotationSkewY to rotate a node, But now we only support use setRotation to rotate a node with physics body( a physics body can not be skewed ).
I discussed with @Minggo, He think we can't support setRotationSkewX and setRotationSkewY for physics, but we need to support RotateBy and RotateTo.
So I think it's a bug.

boyu0 2014-06-24 15:06
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:2fa266e9177556ee83b89c2fcec5062f3027a8f7.

Atom PDF

Status:Closed
Start date:2014-06-11
Priority:Normal
Due date:
Assignee:boyu0
% Done:

100%

Category:all
Target version:v3.2