movevectorx or hlookat_moveforce and Javascript

  • Hi
    I'm looking to use movevectorx or hlookat_moveforce with javascript but i don't understand how it work...
    I've made a function like this:


    Only krpano() and moveto(toh, tov) are working...
    Please, can you explain how to use this? What's the way hlookat_moveforce work?

    Thanks, Michel.

  • there are the same, both can be used,

    movevectorx was the old name (versions < 1.0.7) and hlookat_moveforce is the new one,
    (maybe movevectorx will be removed in future, but not sure),

    I changed the names for better understanding and better relations,
    e.g.
    hlookat
    and hlookat_moveforce (instead of hlookat and movevectorx)
    vlookat and vlookat_moveforce (instead of vlookat and movevectory)
    fov and fov_moveforce (instead of fov and movevectorz)

    best regards,
    Klaus

Participate now!

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