Multivariable Tweening

  • Hello,

    I'm trying to use tween with multiple variables.
    When I do this:

    Code
    tween(view.hlookat|view.vlookat|view.fov,	60|40|80),	6,	easeinoutquad,	WAIT);


    everything works. When I start using variables also for the destination:

    Code
    tween(view.hlookat|view.vlookat|view.fov,	get(endpointh)|get(endpointv)|get(endpointf),	6,	easeinoutquad,	WAIT);

    The whole pano goes black and nothing else happens.

    Am I missing something?

    Thanks

    PS: I'm not using lookto, because the rotation needs to happen in a predetermined direction, and it seems like with lookto that's not possible.

Jetzt mitmachen!

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