Hotspot hover image in WebVR mode

  • Hi,

    I'm trying to change the picture of a hotspot when in WebVR mode.
    In non-VR mode, the following code works just fine:

    onhover="tween(alpha,1);action(show_hover_image,Demo2,PreviewThumb.jpg);"

    <action name="show_hover_image">
    set(hotspot[%1].url,%2);
    </action>

    This code is never triggered in WebVR mode, but the the tween() calls are all triggered?
    I then tried to add a small piece of code in the webvr.xml file (replacing the onclick() for the test case): set(hotspot[Demo2].url, PreviewThumb.jpg).
    This is then triggered, but the original image just dissaperas and the new image never appears.

    Is it at all possible to change the hotspot URL in WebVR mode, or is there another option to display a preview of the hotspot when you hover it?
    Please help :-).

    -Christian

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!