- Joined
- Jun 26, 2020
- Messages
- 1,928
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:
and to restart it I do:
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.
Lua:
prevCamera.fieldOfView = GetCameraField(CAMERA_FIELD_FIELD_OF_VIEW)
Lua:
SetCameraField(CAMERA_FIELD_FIELD_OF_VIEW, prevCamera.fieldOfView, 0)