CameraZoomIn/Out

Discuss on the SimConnect SDK can be used by programmers to write add-on components for Prepar3D
Post Reply
Kaiii3
Posts: 289
Joined: Tue Feb 10, 2015 1:14 pm

CameraZoomIn/Out

Post by Kaiii3 »

Hey,

using CameraZoomIn() and CameraZoomOut() has no effect on the Camera in the Sim. The Zoom Level remains 1, when using the camera manager within the Sim i was able to Zoom in and out.

The camera i tried to Zoom in/out was a self created oberser using SimConnect.
Image
obinder
Posts: 145
Joined: Sun Jun 08, 2014 9:43 am

Re: CameraZoomIn/Out

Post by obinder »

Kaiii3 wrote: Fri Jun 21, 2019 12:39 pm Hey,

using CameraZoomIn() and CameraZoomOut() has no effect on the Camera in the Sim. The Zoom Level remains 1, when using the camera manager within the Sim i was able to Zoom in and out.

The camera i tried to Zoom in/out was a self created oberser using SimConnect.
Hi,

to my best knowledge, an Observer is not a camera, the camera specific controls don't work with them. You can only use the "Observer View Specific" SimConnect methods. I am using SetObserverFieldOfView for zooming an Observer view.

Best regards
Oliver Binder
Lorby-SI
Kaiii3
Posts: 289
Joined: Tue Feb 10, 2015 1:14 pm

Re: CameraZoomIn/Out

Post by Kaiii3 »

thanks that solved it :) It is kind of irritating to have the option in the UI to zoom an observer but it is unable to use the SimConnect method for it
Image
Post Reply