Hello everyone,
I’m encountering an issue with drawing fences in Cesium for Unity and would appreciate any advice.
Context:
- I have two sets of fences drawn based on the direction of lines.
- One set is close to the initial scene center point, and the other is far from it.
Problem:
- When I first draw the fences, the scene center point is near the camera, and everything appears normal (see Screenshot 1).
- However, when I rerun the program, the scene center point reverts to its initial position, causing the distant fences to appear with incorrect rotations (see Screenshot 2).
Current Approach:
- The rotation of each fence segment is set using the direction vector of the line segments.
Question: Do you have any suggestions on how to maintain the correct rotation for the distant fences when the scene is rerun?
Thank you for your assistance!