I am drilling holes in Google Photorealistic 3D Tiles in Cesium for unreal using CesiumCartographicPolygon. I have used CesiumSubLevel to put the model in each point, but when I go outside the loadRadius range, the model is hidden and the hole remains open. I tried to put a CesiumCartographicPolygon in the sublevel, but it warned me that the link was broken.
Is there any way to disable the CesiumCartographicPolygon when far away?
One option could be to dynamically add / remove the polygon from the Polygons vector under the CesiumPolygonRasterOverlay. This will require refreshing the overlay after your changes, though, since it does not automatically respond to polygon changes. Let us know if that works for you!
Thanks for the reply.
I need to determine if the player has left the sublevel in order to delete it, is there a function to access that in the blueprint? I hit a function that looks like it from the sublevel, but I couldn’t find one that can determine if the player is in or out of range like a trigger!
I responded to your post here, which seems like it is asking a similar question: SubLevel trigger - #2 by janine. We can keep talking on that thread if it makes sense.