I’m working on a game for 3ds platform, and since I have experience working on cocos2d, I though in porting to nintendo’s apis. By the moment I have working the basic scenes-sprites-actions engine, but still don’t understand how exactly is being updated the vertices data for the nodes. What I’m doing so far is overriding transform method on CCSprite, to manually update vertices data after updating the transform matrix (something similar to what’s done on updateTransform). However, this way the final transformation of my sprites are not affected by their parents rotation, scale, etc…
I’m pretty sure katmath is used for this purpose, so I’m trying to use it in the same way, but still don’t get where exactly is updated the sprite vertices data. Could anyone give me some guidance of where/how is vertices array being updated?
Thanks in advance!