June 11, 200619 yr 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.
June 12, 200619 yr not sure what you mean but if you just like to "look around" press the RIGHT mouse-button twice.hope that helps.
June 12, 200619 yr sorry,i meant by controlling the camera that i wanted to write a program that will move the camera as the programmer want to.:)
June 13, 200619 yr > I can t find a way to have a dynamic control of the camera in> flightgear ? Just change the values in /sim/current-view/.
June 14, 200619 yr >> 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 ?
June 21, 200619 yr >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