I've been reading the forum for a while now, but I can't find a solution...
I'm trying to rotate the whole screen. I need to rotate it around a point, that is out of the screen.
I'm building 2d graphics with images.
I know it has something to do with matrix4, ETS_VIEW and stuff, but I can't get it work.
My last and most logic attempt was like
Code: Select all
matr = driver->getTransform(video::ETS_VIEW);
matr.setRotationDegrees(core::vector3df(0, 0, time%360));
driver->setTransform(video::ETS_VIEW , matr);