Height-Related Sinking and Shifting of polyline #9
-
Hello everyone, I'm currently developing a component that displays a visibility sector using a polyline, and I've encountered several issues that I'd like to fix:
2.Line Thickness Variation 3.Visible Sector Length Change 4.Approach Validity Any insights or suggestions on how to resolve these issues would be greatly appreciated. Thank you in advance for your help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello, @ApodemusSylvaticus
|
Beta Was this translation helpful? Give feedback.
Hello, @ApodemusSylvaticus
To prevent the polyline from sinking into the ground, there is a property called clampToGround. If I remember correctly, I haven’t passed it along yet, but I’ll try to do so soon. However, sinking can still happen because it depends on how many points your polyline has. If it’s drawn very straight over a terrain, it will still go underground. Regarding the shift: that’s nothing more than perspective distortion—if you trace a ray from the point at a given height down to the ground where your billboard is located, you’ll find they coincide.
Concerning line thickness, it appears to be a bug in the core, and we’ll think about how to fix it. The issue is that if …