Skip to content

CCTransformationNode ignores basic properties #7

@richardgroves

Description

@richardgroves

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions