Show differencesHistory of post edits
Posted 02 January 2013 - 10:34 AM
So the camera movement will go according to screen axis, the rotation will always happen at the current camera focus (center of the screen).
Posted 02 January 2013 - 10:30 AM
Exactly, I have tried applying the rotation before the transform but it will always rotate around (0,0). I want to always rotate around the current screen center (camera.position.x + viewport.width * 0.5, camera.position.y + viewport.height * 0.5) if that makes any sense?