Select to view content in your preferred language

Using GetArcgGISRaycastHit causes map bug

318
0
05-05-2023 09:37 AM
MBambino_ATS
New Contributor III

I am working on an AR application and have encountered an issue with the get raycast function.

When I perform a raycast from the player controller and it hits the map, I run the result through GetArcGISRaycastHit(raycastHit) and if it detects a scene layer, it returns that layer and the object id that is hit. However, if I then click and drag the map to pan it, the tile that the hit occurred in no longer acts correctly and will leave the bounding area. The tile will then not join up correctly when brought back into the bounds. If I remove GetArcGISRaycastHit, the map does not exhibit this behavior.

Is this a bug, or am I doing something wrong?

MBambino_ATS_0-1683304654293.png

(Red dotted line shows the map bounds/extent)

0 Kudos
0 Replies