• This may sound silly but I am a beginner
    1-How to put a button to autorotate/stopautorotate?
    2-I embeded the plugin autorotate:
    <autorotate enabled="true"
    waittime="0"
    accel="1.0"
    speed="4.0"
    horizon="0.0"
    tofov="off"
    />
    Of course the scene autorotate but it does not stop when you make click(like I have seen in other panoramas).... is there any attribute I can add to make this?
    Geetings
    =Manigordo=

  • Hi!
    You can manage all krpano tags by actions, attributes available through dot
    same as set(autorotate.enabled,true); in some action

    for example: you can stop autorotation by
    <action name="stoprotation">
    set(autorotate.enabled,false);
    </action>


    and call this action from some plugin, this will stop rotation
    <plugin name="rot_btn" url="rot_btn.jpg" keep="true"
    onclick="stoprotation()"
    />

    read carefully https://krpano.com/docu/actions/#actionsreference
    look at examples in krpano downloaded package

    Hope it help

    Andrey *thumbup*

Jetzt mitmachen!

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