Hi,
I have a scenario where a 3D model is loaded from a .glb file, and we make it fly in the world.
I want to show a “focus” state where a circle appears under the 3D model. You know, it is similar to how it looks in strategy games when you select a unit.
However, I want to know when the circle bumps into terrain or not to set the right heightReference
and height
. Otherwise, the circle sometimes renders under the ground.
Is there an easy way to detect circle’s intersection with any of the terrain tiles?