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

Terrain mesh using a polygon

Messages
300
Country
unitedkingdom
Hi,

I am currently modelling a funicular railway. To do this successfully I needed a flat ramp for the carriages to run up and down on.

I made a flatten of the existing mesh then made in a custom polygon to create the ramp.

The problem is that the polygon does not settle into place until quite close and sits a short height above the flattened terrain when
viewed from a distance, then visually drops into place when you get closer.

Is there a way of making it drop into place when further away?

I have noticed this issue with static aircraft in some addon airport sceneries too so I am guessing that I am stuck with it.?

The terrain polygon I created was made in Blender, not using the polygon object in the sim. I did this because the animated cars
of the funicular railway were easier to animate in Blender when I could see the slope.

thanks
Stinger
 
Last edited:
Messages
300
Country
unitedkingdom
Images showing the problem. Sorry for quality of the first but I had to be at a distance to show it and then zoom in later
in Photoshop.

distance.jpg


near.jpg
 
Messages
760
Country
italy
Hi there, the behaviour you are describing seems like you have that object "snap to ground"

To avoid "bouncing" caused by the terrain lods getting more precise, you Need to uncheck "snap to ground"

For Better precision,

In the placement xml file , you Need to manually set the altitude of the object, also the altitudeIsAGL property should be set to FALSE
you can obtain precise object altitude by using the gizmo Window

I'm working with lifts too,.i know that probleem so much!





Inviato dal mio Mi 9 Lite utilizzando Tapatalk
 
Messages
300
Country
unitedkingdom
Hi there, the behaviour you are describing seems like you have that object "snap to ground"

To avoid "bouncing" caused by the terrain lods getting more precise, you Need to uncheck "snap to ground"

For Better precision,

In the placement xml file , you Need to manually set the altitude of the object, also the altitudeIsAGL property should be set to FALSE
you can obtain precise object altitude by using the gizmo Window

I'm working with lifts too,.i know that probleem so much!





Inviato dal mio Mi 9 Lite utilizzando Tapatalk
Thank you for your reply but I already have "snap to ground" off.

Where do I find the placement xml file, i don't remember seeing this?

Keith
 
Messages
110
Country
unitedstates
You might try using a rectangle, instead of polygon. Rectangles have the inherent option to set a terraforming profile to set sloped heights as you seem to need.
 
Last edited:
Messages
760
Country
italy
Thank you for your reply but I already have "snap to ground" off.

Where do I find the placement xml file, i don't remember seeing this?

Keith
Hi Keith, by placement i mean the .xml that Is created when you Press save scenery in the scenery editor
It Is in your project Folder/PackageSources/yourCompany-scene-whateveryoucallthat

By toggling snap to ground off you are anyway tied to the mesh (wich changes ), however

By setting altitudeIsAGL off the mesh doesn't matter, and your object Will stick to that precise altidude you must manually enter in the "placement file",
sample code
Code:
 <?xml version="1.0" encoding="UTF-8"?> 
<FSData version="9.0">    
<!--SceneryObject name: BrightonPalacePier-->    
<SceneryObject lat="50.81626919200955" lon="-0.13686521180959" alt="5.60000000" pitch="-0.000294" bank="0.000294" heading="95.340527" altitudeIsAgl="FALSE" snapToGround="FALSE" snapToNormal="FALSE">        
<LibraryObject name="{EEB99E2B-51DC-466E-B6A6-DBECCF855E58}" scale="1.227991"/>   
 </SceneryObject>


Inviato dal mio Mi 9 Lite utilizzando Tapatalk
 
Last edited:
Messages
300
Country
unitedkingdom
Hi Keith, by placement i mean the .xml that Is created when you Press save scenery in the scenery editor
It Is in your project Folder/PackageSources/yourCompany-scene-whateveryoucallthat

By toggling snap to ground off you are anyway tied to the mesh (wich changes ), however

By setting altitudeIsAGL off the mesh doesn't matter, and your object Will stick to that precise altidude you must manually enter in the "placement file",
sample code
Code:
<?xml version="1.0" encoding="UTF-8"?>
<FSData version="9.0">   
<!--SceneryObject name: BrightonPalacePier-->   
<SceneryObject lat="50.81626919200955" lon="-0.13686521180959" alt="5.60000000" pitch="-0.000294" bank="0.000294" heading="95.340527" altitudeIsAgl="FALSE" snapToGround="FALSE" snapToNormal="FALSE">       
<LibraryObject name="{EEB99E2B-51DC-466E-B6A6-DBECCF855E58}" scale="1.227991"/>  
</SceneryObject>


Inviato dal mio Mi 9 Lite utilizzando Tapatalk
Thank you so much for explaining this to me. I understand now and will try this. 👍
 
Messages
300
Country
unitedkingdom
Hi there, the behaviour you are describing seems like you have that object "snap to ground"

To avoid "bouncing" caused by the terrain lods getting more precise, you Need to uncheck "snap to ground"

For Better precision,

In the placement xml file , you Need to manually set the altitude of the object, also the altitudeIsAGL property should be set to FALSE
you can obtain precise object altitude by using the gizmo Window

I'm working with lifts too,.i know that probleem so much!





Inviato dal mio Mi 9 Lite utilizzando Tapatalk
You are a star sir! Your solution worked perfectly. Thanks again.

Keith

Sent from my SM-G935F using Tapatalk
 
Top