How to get a consistent offset on a zooming camera
My screen is split between a "playable" area and a "text" area. I want to be able to click a location in the playable area and have the spring arm/camera be able to pivot around and zoom in on it. Adding an offset to the camera semi-works, but when zooming the object is moved off centre. How can I set up the camera to stay centred on the selected location (relative to the playable area) even when zooming?
Zoomed Out (correct): Zoomed In (off centre):
Hi, did you find a solution to the problem?
I was trying by adding an additional offset = sin(atan(object size/spring arm length))x arm length. but it doesn't work, it just multiply how much faster it goes offset but can't solve the real problem that is move the center to the side.
Now I will try using a "screen capture component 2d"
answered Nov 23 '18 at 05:31 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here