I recently got served a sponsored lens from airbnb where they had basically 4 or 5 different 360 environments you could click through but you were stopped from turning around all the way around, basically you could only see 180 (or maybe a little less than 180) of the full 360 panorama. I assume they did this to save memory but I still found it incredibly effective.
How do you get the camera to stop moving/prevent the user from turning around?
Second and an easier question, how do you program a lens to be able to click through multiple environments like the did in the airbnb lens? I would like to be able have users click and move to new 360 or 180 environment exactly like how they did it.