I’m trying to set a camera angle to a position where the user can only rotate and see the 360-degree view, similar to Google Street View or a first-person perspective. I’ve been experimenting with the camera tutorial sandbox but haven’t been able to find the right approach. Are there any examples or sample code available for what I’m trying to achieve? Any recommendations would be greatly appreciated.
This is definitely possible with CesiumJS, but you’ll need to write a custom camera controller.
The camera tutorial on the website does explain a bit beyond what is in the Sandcastle example.
where the user can only rotate and see the 360-degree view, similar to Google Street View or a first-person perspective
Can you explain a bit more of the effect you’re trying to achieve? For example what mouse actions do you want to support? Are there any additional UI elements you’ll want to add on screen?