We are trying to keep a block of 3D tileset with scale of 0.5 on the table but allow the user to scroll through it akin to moving through Google Earth.
If I were to adjust the position of the tileset either via its transform or via function, it moves it off the table. I believe something like this is is possible as I saw someone doing something like this on non-Unreal Cesium but I’m not sure how to accomplish it.
We have an example that is similar to this in the Cesium for Unreal Samples, 13_CesiumTileExcluder. Using the tile excluder, you can specify a box that tiles will load inside. The sample also lets you scroll the tileset using the WASD keys.
Basically, there are two factors at play in this sample level:
CesiumBoxExcluder, which excludes tiles whose bounding volumes fall outside the box. While this gets rid of most tiles, it will still include tiles that partially fall within the box, so you may see an uneven appearance. This is remedied by…
A material used to hide the parts of tiles that fall outside of the box.
Ideally, the material would respond to the box’s size and position in the Unreal world. But it currently does not, because it uses hardcoded values. However, you could change this so that the material accounts for the box’s position and scale, by passing those in as vector parameters in the material.
Hopefully that’s the issue, but let me know if you run into other roadblocks along the way!