You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Wednesday, November 30th 2022, 11:37am

How to move to the nearest hotspot,by clicking anywhere on the floor

How to move to the nearest hotspot,by clicking anywhere on the floor


In the finished tour, it is possible to select a hotspot on the floor with the mouse and move to its point when clicking on it. I would like the movement inside the tour to be carried out as in matterport: there you can click anywhere on the floor, and at the same time there is a movement to the hotspot closest to the place of the mouse click. Can you tell me how this can be done? Or maybe you know where you can study information on this issue?

2

Wednesday, November 30th 2022, 12:20pm

that is not supported out of the box...

eihter you do all the calculations yourself...

eg... for non-3d tours / non 3d hotspots
- get ath/atv from the click, convert to direction vector
- do the same for all hotspots
- calculate smallest angle

or for 3d-tours.. have a look at everpano