Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Controlling the camera ?

Featured Replies

Hi everyone,Sorry to post again, but still, I can t find a way to have a dynamic control of the camera in flightgear ? Is it possible without compiling the source code ? I know how to set it in a static way (xml files) but not more.So please, could someone explain me very simply how I should do to have a dynamic control?Thanks a lot.

not sure what you mean but if you just like to "look around" press the RIGHT mouse-button twice.hope that helps.

sorry,i meant by controlling the camera that i wanted to write a program that will move the camera as the programmer want to.:)

> I can t find a way to have a dynamic control of the camera in> flightgear ? Just change the values in /sim/current-view/.

>> I can t find a way to have a dynamic control of the camera>in>> flightgear ? >>Just change the values in /sim/current-view/.thks a lot,i tried it but it seems not to work properly unfortunatelyif i write a script in nasal to change the values within /sim/current-view/there are 2 cases:setprop(sim/current-view/view-number, n) ->the command works fine and fg goes to the view nbut a command which would really interest me like:setprop(sim/current-view/sim/current-view/x-offset-m, xx) ->fg doesn t move to the offset xx.is it normal ?

>but a command which would really interest me like:>setprop(sim/current-view/sim/current-view/x-offset-m, xx) ->fg>doesn t move to the offset xx.>is it normal ?Yes, at least if the above is actually the source that you use, is that the full source code?If not, please provide the full source code that you use, neither the property path, nor the syntax are used correctly.offset=100;setprop("/sim/current-view/x-offset-m",offset);

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.