I have a cesium Entity with a model loaded on it. I’m using sampled positions and get the height of the model relative to ground. When displaying the model I set it’s height reference as RELATIVE_TO_GROUND and the model displays properly on top of the ground at it’s correct altitude. However when adding a path to the entity so that we can see a trail of it’s movement, the path is drawn underground, it seems as if the path is not using any height reference and it is beeing drawn at the height of the position and not taking into account the “RELATIVE TO GROUND” Part of the height calculation.
Is there a work around or some way to make the path follow the actual height of the displayed entity?
Hi @Francisco_Miguel_Fer
Would you be able to provide a minimal Sandcastle example of the issue?
Also just to confirm are you setting the height reference of the model and the path entities?
Hi @jjspace I can try to recreate the issue in a sand castle along today, but as for the other question. the path property of an entity does not seem to care about height reference. The model and all the items inside the entity are getting a height reference of RELATIVE_TO_GROUND
But it seems as if the path property does not really care about the height reference, I also coulnd’t find in the documentation anything related to the height reference in the path property
I have tried to replicate the issue on a sandcastle:
But it seems as the problem does not appear here, I’m using an older version of cesium due to compatibility issues, maybe this problem was fixed in the past? I tried to look for similar issues on github and here but couldn’t find one. Can you confirm if this was played around at some point in the past? Here’s a picture of a model entity with a path, this entity is written the same way as in the sandcastle:
The version we use is: 1.108.0