• when I trace the variable view.hloockat, the console send the correct value in relation with the view angle.
    But in an other way, that variable is keeping to grow after 360, after the first rotation.
    The question is how to get back the correct value of the current view angle in a range from 0 ~ 360 ?

    Thanks for your help !

  • Hi toolsman,

    There is the adjusthlookat(desthlookat) action to do that...

    So, you could do:

    Code
    adjusthlookat(view.hlookat); trace('view hlookat = ',view.hlookat);

    SAlut.

Participate now!

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