I have created a new car camera that is not directly linked to the car but I can't get a stable position really independent from car movements.
Here is a piece of code that is supposed (as far as I understand how camera works) to keep the camera at a fixed position and not rotating.
But as you see in the video below, as soon as I move the car, the camera position become unstable (Note that I don't have this position problem when I apply this method to a player outside car).
https://www.youtube.com/watch?v=GrS0nrLWHp4&ab_channel=LivensStuff
I tried all things I thought that could work, this code is the "to the bone" solution I found the more close to what I'm looking for.
Now maybe you ask yourself why making a new car camera when the vanilla works well?
You can look the video I made to showcase this new car camera perspective.
https://www.youtube.com/watch?v=GrS0nrLWHp4&ab_channel=LivensStuff
For this showcase I used a custom camera inherited from "Camera" not "DayZPlayerCameraBase" and this bring some other problems like not hearing gunshots (I made a placeholder for that), no smooth transitions when entering/exiting cars and the most annoying, big desync.
That's a shame because this camera perspective is very very fun to play but the desync prevent the mod to be ready for a public release.
Note that the ideal solution would be to fix the position of "DayZPlayerCameraBase" but if it is not possible, maybe fixing the "Camera" desync will at least allow a public release of this new camera.
I hope you'll consider looking at this demand. I'm aware it is not a blocking bug for you or players but it is for me.
I know sometime things take time and are not as simple as they seems but I hope to have an answer even if it is a "sorry not possible" so I can have a more clear vision of the future of this feature.
I hope I'm understandable, English is not my natural language.
If you have any question or need more information I will of course be happy to help as far as I can.