Search Unity

Help on the go with animation.

Discussion in 'Animation' started by cleitonxpl, Jan 9, 2020.

  1. cleitonxpl

    cleitonxpl

    Joined:
    Aug 9, 2019
    Posts:
    2
    Help on the go with animation.
    ----

    I'm coming back to study Unity and I came across this problem.
    ----
    01 - When left in Animator the option "Apply Root Motion"
    My character's Idle mode keeps spinning and spinning without any command, because its movement works perfectly.
    ----

    02 - If you leave "Apply Root Motion" disabled
    My character works perfectly in Idle mode, for example, his movement is detrimental as he comes out of the kind that flies through the scenery.
    -----

    Video with error demonstration.

    -----

    SCRIPT USED:
    https://gist.github.com/MrCl0wnLab/ccc11b23ea53dd27fad2a816ab0cfc35
    -----

    COMPLETE DESIGN:

    https://mega.nz/#!Bzx1SYwQ!eXAId5EG9ujUYU4jIpQCuZJnHK2PKH9PhHlwuAtiOeg
     
  2. cleitonxpl

    cleitonxpl

    Joined:
    Aug 9, 2019
    Posts:
    2
    Solution: