I don't know about you, but if I'm on a bridge, I still stand off to the side a bit.
What was also getting distracting... I've been installing berms on my routes, and it's not unusual for the track to sit about 3-5 feet up from ground level. 90% of the camera views in the Trackside mode were bridge views...
Since re-installing Visual Studio a couple weeks back, I've played around a little with the code, and it is quite easy to follow in places...
So.. today's hack of the day... eliminating the top-down bridge view.
There are two opportunities for doing this -- changing the BridgeCutoffAltitude parameter (currently = 1) to something a little more forgiving (5 worked for me)
That worked pretty well, and gave me a consistent ground level view looking up at the train.
The second opportunity is modifying the "else" statement in (newLocationElevation > newLocation.Location.Y - BridgeCutoffAltitude):
{ cameraLocation = newLocation; cameraLocation.Location.Y = newLocationElevation + CameraBridgeAltitude + CameraAltitudeOffset; }
That resulted in applying the CameraBridgeAltitude Y value but also using a random XZ value.
https://lh4.googleusercontent.com/-z7W1uSVCaig/UVivmmz5krI/AAAAAAAASaM/nwnWA87ojgY/s720/capture__111995.jpg
https://lh4.googleusercontent.com/-kczu-VGFERo/UVivohr93fI/AAAAAAAASac/S74dGBuyySE/s720/capture__111997.jpg
Pretty happy with the outcome, and happy to share the complete code block with the OR team if anyone is interested...