Search Unity

Character keeps turning while moving - Unity stealth tutorial

Discussion in 'Animation' started by gogo199432, Sep 22, 2013.

  1. gogo199432

    gogo199432

    Joined:
    Apr 20, 2013
    Posts:
    86
    Hi guys, it's me again :)

    So I made through the stealth tutorial, and succesfully got it working with my other model (I mean the animations).
    My only problem is that the character when moving, is keep turning left. It looks like the angle isn't calculated correctly, however I don't understand a word from that angle calculation.

    Something worth noting, that unlike in the original tutorial, my character has its center in the actual center of the model and not at it's foot.

    Thanks in advance, let me know if you need any scripts