I've got a pretty nice scroll to zoom script on my main camera. It is 90 degree's top down, follows the player and zooms in/out with mouse wheel. It has some clamping for min/max distance and smoothing on the position change.
What I want to do is change the camera angle to 45 degree's instead of 90. Simply changing the rotation variable to 45 set's the camera angle, but the player is no longer centered on screen. Further to that, the player's position relative to the screen center moves...
Keeping scroll wheel zoom, on a 45 degree angle, centered on player
What I want to do is change the camera angle to 45 degree's instead of 90. Simply changing the rotation variable to 45 set's the camera angle, but the player is no longer centered on screen. Further to that, the player's position relative to the screen center moves...
Keeping scroll wheel zoom, on a 45 degree angle, centered on player