I want to show a hotspot with a background and Im doing it with the code below. Everything is ok, but when I enter in VR mode I can't find my hotspot anymore. Problem comes from plugin. If I remove it, it's visible in VR mode too. So, why it's not visible in VR mode and how can I make it visible? Here's the code:
Code
<scene name="scene_1" title="Room 1" onstart="" thumburl="thumb.jpg">
<view hlookat="0" vlookat="0" fovmin="60" fov="100" fovmax="150" />
<image hfov="360">
<sphere url="image_1.jpg" />
</image>
<hotspot
name="hs1"
url="my_background.png"
edge="center"
width="72"
height="87"
ath="10"
atv="20"
onover="hs_over(hs1_icon);"
onout="hs_out(hs1_icon);"
onclick="looktohotspot(hs1); loadscene(scene_2, null, MERGE, BLEND(1));" />
<plugin
name="hs1_icon"
url="my_image.png"
parent="hotspot[hs1]"
align="center"
scale="0.45"
enabled="false"
y="-8"/>
</scene>
Alles anzeigen