wait(0) will not work

  • Hi,

    I want to make pano to play half rotation with below code

    Code
    lookto(90,0,75,smooth(200,50,10));
    wait(0);
    lookto(120,0,75,smooth(200,50,10));
    wait(0);
    lookto(0,0,75,smooth(200,50,10));
    wait(0);
    lookto(-120,0,75,smooth(200,50,10));
    wait(0);
    lookto(0,0,75,smooth(200,50,10));

    I have also restrict the pano view using "hlookatmax" and "hlookatmin" as below

    Code
    <view fovtype="MFOV" fov="75" fovmin="40" fovmax="150" limitview="range" vlookatmin="-60" vlookatmax="+60" hlookatmax="120" hlookatmin="-120"  />

    But some how wait(0) will not work, means once pano reaches to 120 it will pauses for 4-5 seconds even though i have written wait(0) in above code.

    What is wrong in my code?
    Or
    How can i use wait(0) with half rotation?

    Please Please help

    --
    Thanks
    pratiks

  • Hi,

    what do you expect from the wait(0) calls?
    They will just wait 0 seconds and then continue with the next action...

    That 'pause' might happen because your where limiting the view and then probably trying to pan into that limitation, which will be not possible.

    Best regards,
    Klaus

  • Hi Kalus,

    I want to make wait the "lookto" to 0 seconds rather than 6-7 seconds of wait with viewing limitation.

    Could you please the example/code for the same?

    Thanks

Jetzt mitmachen!

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