Subtle panorama move when mouse move

  • Hi there,
    I want to make a better UX for our virtual tours and therefore I want to add a subtle change of panorama movement when a
    visitor
    moves with the mouse or trackpad. So that the visitor instantly see
    there is somehing to explore (some people just miss that is a 360

    sometimes).
    I try to make something, but i'm not really get it sort out. Maybe there is a plugin for it, I think it's a small code.
    I have this now: https://360virtualtours.nl/inthemaking/demotour/vierkantje
    The code I attach to Mousemovement is:


    It's almost working, but i mis something therefor it pops to some 0 coordinate.
    Anybody can help me out here?
    Thanks!Aleks

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!