Force to load tiles to get elevation

Hi, this is my situation.

My character is in London (51° 30’ 26.463" N 0° 7’ 39.93" W) and my player can ask on an interface, “What is the terrain elevation at 45° 49’ 57.439” N 6° 51’ 54.63" E?"
I cast a ray from 6000 m to 0 m, but instead of returning “The elevation is 4800 m,” it returns “The elevation is 0 m.”
If I load the terrain using a second camera, it works; however, the camera needs to be displayed on the scene, and sometimes the raycast is faster than the loading tile.

Does anyone have a technique that could help me?

Hi @IkRyu,
We’re currently working on adding the ability to easily do height queries like this.

In the meantime, the best option is to force the terrain to load by using a camera. If you don’t want the camera to truly be visible, you can use the blueprint interface on CesiumCameraManager to create virtual cameras that are used for Cesium tile loading only. A camera looking straight down on the character’s position with a narrow field of view should do the trick.