Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCTransformationNode ignores basic properties #7

Open
richardgroves opened this issue Mar 10, 2015 · 0 comments
Open

CCTransformationNode ignores basic properties #7

richardgroves opened this issue Mar 10, 2015 · 0 comments

Comments

@richardgroves
Copy link
Contributor

If I change the .position of a CCTransformationNode it wont refresh its transform (internal _dirty flag not set). I presume other properties like rotation etc. will be ignored.

I changed the line

if (_dirty)

to
if (_dirty || _isTransformDirty)

and it worked for my limited case, but looking through CCNode.m I think more is going on with _isTransformDirty than is being dealt with in CCTransformationNode visit.

Thoughts/suggestions? Or is just an expected limitation of the transform node - it should be used purely for adding a roll/pitch/yaw transform in a node hierarchy?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant