Here is a patch to view.nas to enable locking the view to a certain
direction regardless of the orientation of the aircraft. This is
especially useful for landing approaches. To use this you will need to
have two bindings: one that toggles /sim/view/lockview/active and one
that executes view.setLockView(). The first turns the system on and off,
and the second tells it what direction to point your "eyes".

Currently it does not handle roll, so it breaks as soon as you diverge
from wings level. If anyone has any suggestions on how to fix that they
are welcome. Also, if there is a better way to implement it using a new
view, I would have no problem adding an eighth view that doesn't track
aircraft movement. This may be a more elegant solution, as it could
allow panning while the view is locked.

I think this really gives a better feel for how the aircraft is moving.
I would like to modify it and add another mode where the pilot's view
tracks that of the aircraft orientation, but is run through a low-pass
filter first. That would allow you to see the bucking of the airplane
but still keep looking in a direction relative to the aircraft in the
longer term. Stay tuned. With the addition of a headshake nasal script
(in the works) this will add a huge amount of realism to the view in FG.

Here's the CVS diff
http://jrbabcock.home.comcast.net/flightgear/lockview.1.diff

Josh

_______________________________________________
Flightgear-users mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-users
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to