• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Creating custom cameras in runtime

Messages
2
Hello,

I'm working in a freeware project where I intend to attach a camera to an AI object. I know this can be done during mission design but I couldn't find any API to do it in runtime.

If it is not possible as such, my plan B is to test creating a fixed custom camera and update its position each frame. But, again, I couldn't find any methods to create or change a camera's position in runtime. However, I know that it is possible, as some programs like FSRecorder are capable of doing this.

Has any of you done any research about this? It would save me a lot of research time...
 
Your ideas lead into an area that some may choose not to help with. I have found over the years that when you have a great idea you will only receive resistance to the idea. Most developers trump on about proprietary this or my idea that and simply dont share any of the good stuff. Any good methods of development will be kept under the rug and all the rubbish will be presented on forums like this as gold. As a real question on here and it will never be answered.
 
Your ideas lead into an area that some may choose not to help with. I have found over the years that when you have a great idea you will only receive resistance to the idea. Most developers trump on about proprietary this or my idea that and simply dont share any of the good stuff. Any good methods of development will be kept under the rug and all the rubbish will be presented on forums like this as gold. As a real question on here and it will never be answered.

Oh ye of little faith. Merry Christmas.
 
Your ideas lead into an area that some may choose not to help with. I have found over the years that when you have a great idea you will only receive resistance to the idea. Most developers trump on about proprietary this or my idea that and simply dont share any of the good stuff. Any good methods of development will be kept under the rug and all the rubbish will be presented on forums like this as gold. As a real question on here and it will never be answered.

I am not sure that is true. For the most part people do try and help. I guess some people will have things they don't share. I don't make the code for ADE or my other tools public - do that mean I am being unhelpful? If someone asks how something can be done I generally try to offer guidance and share the knowledge that I have. I think that is true of most people here.

I think you are being a bit hard on us. However if you have any specific instances where folks have genuinely not been helpful then please do pm me about it.
 
I think its more a case of the geniuses who have accomplished what some of us wish to do simply dont frequent FSDev. Although i suspect 1 or 2 do and are not sharing some bits that many would love to know (like myself still bashing my head away at finding IDirect3DTexture9 surfaces that i want to draw to)...
 
Hi,

If your AIobject is an aircraft or an hellicopter, the camera.cfg file allows to associate cameras with ai objects. This camera can eventually be moved using SimConnect APIs.

So, I suppose that if you ask, you are not dealing with an aircraft but with a boat or a miscelaneous object.

Personnaly, I would create what I call a shadow object : it is define as an aircraft in SimObjects but with an invisible model. Being an aircraft, a view for this object exists in the View mode/Air traffic.

Now, if you synchronize the position of this shadow object with the object for which you need a camera ... it is done.
 
Back
Top