GOT IT! Rotation and translation work correclty for the red cube. Now the rest is pretty easy to generalize it to the other objects and shit. Just need to change the a_frame and things should work out well.