In my project, i have a guy which is a square in the center. i have him moving around, and he can move towards wherever the mouse is, the thing is, the red square isn't showing up where it should be after rotating it. This is a 2d game, which is why i am rotating on the z axis
What jpphelan is suggesting is flipping around 'A' and 'B' lines so that you translate first, then rotate. Which you do first will make a big difference on the result. I *think* you are doing it right (rotate first), but try swapping it around to see if that's wrong.
wow i feel like an idot now....... jpphelan was right. It works. THanks so much for helping me, it was really buigging me that i couldn't figure it out.