Set different view (hlookat) than startup scene when click hotspot

  • Hi,

    I want that when we click a hotspot, the view shown by the linked scene is different from the view of departure of the linked scene...

    I use this code:

    <hotspot name="spot2" style="skin_hotspotstyle" ath="-99.399" atv="11.273" onclick="loadscene(scene_20170612123059_mtsn0q); lookat(get(0),get(90)); " />


    but it does not work, the view by default of the scene displays while I would want an other one that i specified with the onclick=....

    I found an other post with this subject, but it doesn't work for me : https://krpano.com/forum/wbb/inde…ookat#post47473


    Thank you,

    Philippe

  • Ok, i solved my problem, i have just use this : <hotspot name="spot1" style="skin_hotspotstyle" ath="-162.122" atv="12.957" linkedscene="scene_20170612125357_l5gsch" linkedscene_lookat="30, 0.0, 120.0"/>

Jetzt mitmachen!

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