Board index FlightGear Development New features

Tower view look from azimuth direction indicator

Discussion and requests for new features. Please note that FlightGear developers are volunteers and may or may not be able to consider these requests.

Re: Tower view look from azimuth direction indicator

Postby Thorsten » Sun Mar 24, 2019 11:15 am

It's not hard to do if you want to have a go with a little script - you can access the view axis in the property tree, do a little trigonometry and output the result into a canvas window - and it's done.

Give it a try!
Thorsten
 
Posts: 10694
Joined: Mon Nov 02, 2009 8:33 am

Re: Tower view look from azimuth direction indicator

Postby Thorsten » Mon Mar 25, 2019 9:41 am

Ah, try for instance

/sim/current-view/raw-orientation[]

raw-orientation[1] for instance seems to have the required change when turning around, I just don't know offhand where the zero point is though, needs some testing. Maybe it's related to the heading defined in the default tower view somehow?

also, there's a bunch of properties under /sim/current-view/debug/

which also might be of use.
Thorsten
 
Posts: 10694
Joined: Mon Nov 02, 2009 8:33 am


Return to New features

Who is online

Users browsing this forum: No registered users and 1 guest