How to rotate a hotspot image??
Posted: Mon Feb 14, 2022 3:02 pm
Please have a look at the attached screenshot.
I'd like to rotate the hotspot on the left so that it looks as if it's attached to the base of statue.
To that end I somehow would have to rotate to image around the vertical axis.
Looking at the code generated by pano2VR it's clear that the software does a lot of css 3d transformation itself.
So in principle it should be possible to get the job done.
However, I couldn't find a solution:
- The js APIs doesn't offer anything I could use, as far as I can tell. V7 of pano2VR in this regard has remained unchanged.
- I tried to add some CSS code to the image, which seems to be working, but couldn't quite figure out how to do that selectively, i.e. only for a certain hotspot. Logic blocks are not available for this purpose. I thought I could use variables, but ... I couldn't do it.
Any suggestions would be very much appreciated!
I'd like to rotate the hotspot on the left so that it looks as if it's attached to the base of statue.
To that end I somehow would have to rotate to image around the vertical axis.
Looking at the code generated by pano2VR it's clear that the software does a lot of css 3d transformation itself.
So in principle it should be possible to get the job done.
However, I couldn't find a solution:
- The js APIs doesn't offer anything I could use, as far as I can tell. V7 of pano2VR in this regard has remained unchanged.
- I tried to add some CSS code to the image, which seems to be working, but couldn't quite figure out how to do that selectively, i.e. only for a certain hotspot. Logic blocks are not available for this purpose. I thought I could use variables, but ... I couldn't do it.
Any suggestions would be very much appreciated!