Starting angle of a tour

  • I would do in two steps:
    -First you should set your initial viewing angle in the "view" tag defining the hlookat vlookat and fov paramaters.
    -The change of angle should be called in the scene "onstart", either directly inside it, or by defining an action.
    -On the sample link you provided, autorotate gets activated after reaching the target angle. You can set this at the end of the last tween.

    Here's a sample code that starts a scene looking up (vlookat=-50), and after it starts, it turns the vewing direction 45 degrees and levels it (vlookat = 0) using the default tween type, during a period of 1 second. After leveling the view, autorotate gets started.

    Hope it helps.

Participate now!

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