Hi folks,
Just wondering... I've looked for it through the API and I didn't
found a way to take a point defined on the coordinate system of a
cocosnode and obtain the point relative to another cocosnode
coordinate system.
If there isn't a current standard way to do it would anyone else find
this useful?
And how you would sugest the API to look like?
class CocosNode(object):
...
def get_transformed_point(self, other, x, y):
...
or something like that is the way that occur to me, but it looks ugly.
I appreciate any sugestions on this :)
--
Kao Cardoso Félix
Página pessoal: http://www.inf.ufrgs.br/~kcfelix
Blog: http://kaofelix.blogspot.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"cocos2d discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cocos-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---