Sie sind nicht angemeldet.

1

Mittwoch, 3. Februar 2021, 14:51

[SOLVED] Hotspot always parallel to the ground

Hi,

I want to create a hotspot skin which have to always be parallel to the ground. It's a simple distorded hotspot with a basic arrow image, I tried to edit the RX prop to 90, but it seem to depend on the hotspot ATH and ATV values

Is there any possible calcul i can do or maybe just set a specific prop ?

Thanks,
Navalex
A front-end web developer, specialized in Virtual Tours and ReactJS

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Navalex« (3. Februar 2021, 20:34)


2

Mittwoch, 3. Februar 2021, 20:34

Well, I solved my issue, here is the fix for people who try to make something similar:

If you want to force a hotspot/layer to always facing a specific line of your pano, the basic calc is:

rx = ath (if the line is hlookat, otherwise, just do an addition of the difference; ex: hlookat = 15, so rx = ath + 15)

ry = -atv (if the line is vlookat, otherwise, just do an addition of the difference; ex: vlookat = 26, so ry = -ath + 15)



Don't hesitate to MP for more questions. ;-)
A front-end web developer, specialized in Virtual Tours and ReactJS