Cubes within cubes


Using the Cesium plugin to import google map tiles. I created mechanics for a small plane to fly around on earth.

CubeGeo.cs


The CubeGeo script handles create cubes within a BoxCollider component. It also handles clearing the cubes if needed and resizing the cube based off the distance of the camera.

Results