cocos2d-objc icon indicating copy to clipboard operation
cocos2d-objc copied to clipboard

PhysicsBody attached to CCNode doesn't scale

Open DSalko opened this issue 10 years ago • 1 comments

Not sure if this is an issue, but looks like one to me.

For example, if you turn on debug for bodies in NewtonScene and scale NewtonSphere - you'll see that cpBody remains the same size.

If you make CCSprite and attach body directly to it, it works - but scales around bottom left, not around anchor point.

Any comments or ideas? I was trying to find issue in sources, but no luck yet.

Sorry, if it's stupid question.

thanks.

DSalko avatar Feb 16 '14 14:02 DSalko

It sounds like half of your problem is this: https://github.com/cocos2d/cocos2d-iphone/issues/594

Will have to check out the scaling issue.

slembcke avatar Feb 19 '14 18:02 slembcke