I am looking for a way to create a reference point on a sprite. I am using it’s anchorpoint with CCScale, but now I need another point of reference to check for collision detection. My game does not require complex CD, just whether or not a point has intersected a rect or a path. But in order to do that, I need to create a reference point, that stays relative to the sprite after rotating/scaling. Has anyone does this before?
You could attach an empty node as a child at the reference location (before you translate/scale/rotate it), then read the position off that. Don’t know if that’s the best or only way to do it, just something I thought of.