Does anyone know how to rotate a sprite while using ofxSpriteSheetRenderer? The addCenterRotatedTile function doesn’t seem to take rotation as a parameter, and the addRotatedTile function seems to take both X and Y rotations. How can I rotate using a single value (ie the rotation around the z-axis)?
Well I’m an idiot, just call:
addCenterRotatedTile(&<your animation_t>, , , -1, F_NONE, 1.0, , NULL, 255, 255, 255, 255);
And the rX and rY in addRotatedTile are the rotation anchor points.