X position relative to..... world?

I have a character, and it can rotate around. Rotating means the X and Y axises will change "direction".

And I need to know the player's X and Y axises like if he had always 0 rotation, but how?

transform.right and transform.up. (As opposed to Vector3.right and Vector3.up, which are in world space.)