cesium Camera inside 3d building

I have loaded a 3d model of a building by cesium.js.

What I’m looking for is to move the camera into the building, for example by double clicking the 3d model of building, the camera has to be moved inside the building, but I have no idea how to do that.

Is is possible to do it by cesium.js?

And is there any other solution?

Any help is appreciated.

Cesium give you full programmatic control of the camera, so it’s possible to position the camera inside a house. However, we don’t have any kind of out of the box support for automatically doing it and there’s no collision detection to prevent someone from immediately walking through a wall or to give them the sense they are walking around the house (such as moving up the stairs). So how much work what you want to do will take is highly dependent on your use case.

If you haven’t already read it, you might want to check out the camera tutorial: http://cesiumjs.org/2013/02/13/Cesium-Camera-Tutorial/