Let me reject this merge request, I have changed my mind and I am currently coding an addon with just that exact view. It won't do much better than the Fly-By held, but I'll add menubox to set the height of the pilot, distance to plane, etc... Much more flexible at the end. I might also avoid collision with plane's view using addon hints, let's see. Of course, much more coding time than the checkbox indeed!
For the record it is now there: https://sourceforge.net/p/flightgear/fgaddon/HEAD/tree/trunk/Addons/RCView/ Certainly needs some tuning on view-number collision and position within the view menu. Cheers, chris.
Adding RCView addon (remote control view)
Add a display option allowing to hold the viewer position in Fly-By view
Let me reject this merge request, I have changed my mind and I am currently coding an addon with just that exact view. It won't do much better than the Fly-By held, but I'll add menubox to set the height of the pilot, distance to plane, etc... Much more flexible at the end. I might also avoid collision with plane's view using addon hints, let's see. Of course, much more coding time that the checkbox indeed!
Fixing ground sinking with structual points and tuned bogeys coeffients
I have been thinking, may a fg-addon be only a new view? Would it make sense? How to be sure it won't collide with planes' views? It could be loaded for all planes, rc or not rc I could start from the fly-by view and built on it, allowing rotation around the plane instead of random pick-up etc...
All right, I've coded it within the Rascal. I've converted it into a function that must be called after the fdm is initialized (otherwise the geo.* are not yet set). setprop("/sim/tower/auto-position", 0); var set_rcview = func (OFFSET_DEG,DISTANCE_M,HEIGHT_M) { var pos = geo.aircraft_position(); var heading = getprop("/orientation/heading-deg") + OFFSET_DEG; pos.apply_course_distance(heading, DISTANCE_M); pos.set_alt(pos.alt() + HEIGHT_M); setprop("/sim/tower/airport-id", "RC View"); setprop("/sim/tower/altitude-ft",...