• 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.

FSXA Rotate to User with a separation plane?

Messages
97
Country
unitedstates
Hi all,

I asked this question a few months ago, but it was tacked on at the end of another thread and I think it got missed.

I'm trying to defeat the limitations of the BGL_Light when used for runway lights. Here's what I want to do:

Create two small planes, each with a light plume (like the halo.bmp), and have them rotate to the user. I've got that hooked up okay, but now I need to combine a separation plane in order to be able to control which plane gets displayed (and thus which color light is seen) depending on the viewing angle.

That's where I'm stuck. I don't know where the separation plane should go.

Any ideas?

Thanks,

Nick
 
Hi Nick,

That should be possible. You might even be able to use the same rotate to user call, just put the switch on the material used around the code where the polygon is drawn using the SEPARATION_PLANE command.
 
Thanks Arno,

Good to know that it's at least thoeretically possible.

I'm not that astute when it comes coding, and the extent of my knowledge is limited to things like tweaking layer numbers, and adding the occasional separation plane.

Is there a chance that someone might be able to post an example of what the code might look like to do what you described?

Thanks.

Nick
 
Hi,

Do you have an example of the code you want to tweak? Then I can made the changes to it.
 
Back
Top