|
Post by witchthewicked on Jun 7, 2021 4:19:04 GMT
I have a scene where the player can zoom out and zoom in all day.
I want to force the camera size to be set to 1.0f no matter what zoom they are at.
Currently, I am using Cinematics.AddTarget() to handle this.
However I just learned that the zoom is relative.
cinematics.AddCinematicTarget(target,/*easeInDuration=*/0.25f,/*holdDuration=*/999999f, /*zoom=*/1.5f); So when i say 1.5x it means 1.5x from the current zoom its at.
I just want to say Show this target at this distance.
Solution #1 Calculate the current zoom and multiply it by an offset to figure out /*zoom=*/ value. Kind of annoying but idk what else to do. Can you guide me for my solution #1
Thank you in advance.
|
|
|
Post by witchthewicked on Jun 7, 2021 15:55:31 GMT
If its not possible thats okay I am fine with the relative zoom actually right now.
|
|
|
Post by Luís Pedro Fonseca on Jun 8, 2021 18:17:57 GMT
Hi, you can use the SetScreenSize method if that suits you better.
|
|