• Hi,

    I'm having some problems getting the Javascript tour to use get() in an onstart. I have my start positons in a central location

    Code
    set(ground1StartPan,			0);
    set(ground1Tilt,				0);

    Then, when the tour loads, it sets the lookat using a get():

    Code
    onstart="lookat(get(ground1StartPan),get(ground1Tilt));"

    Now, this works fine on desktops - but when viewing it on iOS device the tour loads in cube faces but can't be moved. Changing the onstart to just "lookat(0,0)" fixes it, so the bug seems to be caused by using the get(). Is there any way around this bug?

    Edit - Strangely, this only seems to affect the first scene that loads, and is negated by a small delayedcall. Could this be a bug?

    Edited 2 times, last by AdolfoJunge (December 19, 2011 at 1:58 PM).

Participate now!

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