Well, I could add that feature to Master/Slave I believe. You just need to call oapiCameraSetCockpitDir() on the slave. But I want to see your solution first
Hi Kamaz,
I didn't knew it was possible, it would be a very nice solution, and the most simple for the user, you're welcome ! :jiggy:
:camera::camera:
Now, a little bit history :
I first did some attempts with dummy attached vessels, pointing right, left or whatever, but it was complicated, and had some faults...
Then tried to modify the cpp's of exising vessels, succeeded, but the vessel sdk must be available, and there are a only a few...
And at last found a way to make work an existing add-on :
A little archeology resarch at Orbit Hangar gave the very interesting "Multiview" addon from Computerex ;
The Computerex Add-on Pack :
[ame="http://www.orbithangar.com/searchid.php?ID=3508"]Computerex Add-on Pack[/ame]
Multiview works with a cfg file, were you can put the position and orientation of the wanted cameras in cockpit mode.
It works fine in Orbiter 2006. But alas not in Orbiter 2010 ... The cam direction points always forward.
So I had to engage in C++, do some research in the forum ( the solution was given by Martin himself in a post...), and modify accordingly the .cpp file.
Surprisingly it worked, and here it is :
View attachment Multiview 2010.zip
The cpp :
View attachment main.zip
Disclaimer : I'm a beginner in C++, have yet to understand the philosophy of this language ( was almost bitten by a wild callbackfunction lastly...).
All I know is copy/pasting existing programs and hit "F7" to "generate a solution"... (and for every solution there is a problem...).
On my pc it's working, I hope it does on other pcs.