I play in cockpit view most of the time. Is it possible to script something that rotates the camera a tiny bit when steering left or right and recenters when steering wheel is centered?
You could just use the 4 and 6 keys to rotate the camera, usually when you need to turn your view it's at a stop sign or traffic light. But I'm surprised this isn't already an official feature, even Live For Speed has something similar and content updates over there take literally a decade or more.
That is actually a great idea. Camera leans towards the direction the wheel is turned. I can't imagine it would be too terribly difficult to code into place... and I suppose it could always be turned off if it was undesirable.
Really great Idea... I really have to start lua modding --- Post updated --- @shiznit: I made a quick Ui-App as transitional solution. The script is pretty limited, because it is written in Javascript. You will notice some clamping effect when the camera re-centers. That is because JS-Scripts are limited to 30 fps (as far I know) and I only use the built in camera rotation function that @gigawert mentioned. I have to learn how lua works in BeamNG, then I could do it better. Install it like any other Mod (explanation). Ingame it looks like that in the App-Selector:
Ok I´m proud to announce that I finished just now. It turns out that it is a standalone camera mode I will upload it to the Repo when I´m done with the fine tuning. Install it like any other mod (explanation above). Don´t forget to restart your game after installation! //edit: https://www.beamng.com/resources/lookahead-interior-camera.2593/