I am trying to fly to a selected 3d-tile actor but the dynamic pawn only fly to the georeference. If I move the 3d-tile manually the dynamic pawn fly to the 3d-tile as expected.
Help needed, thanks!
UE version: 5.4.3
Cesium for Unreal version: 2.7.1
Sorry about that. The “Tiles Array” is an array of 3dtileset object references. Im not sure how it supposed to work but im getting coordinates from the georeference and the 3d-tiles at 0,0,0 and if I move the 3d-tile by force in the project it output its offset from 0,0,0. The georeference and 3d-tile actor is in correct position i ecef when converted. Must all 3d-tiles have its own subgeoreference to be able to fly to?
Understand if I explain this in a confusing way so please ask questions.
Ok, so yes, the Location of a Cesium3DTileset Actor will almost always be 0,0,0. So you can’t use that to implement a zoom-to functionality.
Cesium for Unreal doesn’t currently have a built-in C++ or Blueprint way to zoom to a tileset. However, it does allow users to zoom to a tileset by double-clicking it in the Editor’s Outline view. So you might consider taking a look at how that is implemented. It’s probably not too difficult to adapt it for use at runtime: