• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

What is the FOV (field of view) of a camera?

Level 24
Joined
Jun 26, 2020
Messages
1,853
Hello, I'm making a system that includes setting a camera setup and restart the camera as how it was before, I'm including the field of view and saving it using:
Lua:
prevCamera.fieldOfView = GetCameraField(CAMERA_FIELD_FIELD_OF_VIEW)
and to restart it I do:
Lua:
SetCameraField(CAMERA_FIELD_FIELD_OF_VIEW, prevCamera.fieldOfView, 0)
But for some reason, when I do this, the camera zooms in further than it should instead of being the same as before, I wanna know why.
 
Top