Hi! I've recently been learning about basic physics in games and I'm up to the point of angles/angular velocity etc. Basically I want to transform an al_rectangle to a specific angle. I know next to nothing about transformations even after reading doc files and a few tutorials. The best I can do at present is set the entire world to the desired angle.
//some transformation code here I'm assuming to modify the box below
//then something to rotate the world back to the original position, maybe?
I've been using ALLEGRO_TRANSFORM and have been getting some pretty crazy results. Can anybody modify the above code to change just one of the rectangles angles? Or explain why what I'm doing won't work? Thanks guys