Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

In animation track the character with the virtual cam when change animation it's changing position ?

Discussion in 'Timeline' started by Chocolade, Dec 22, 2018.

  1. Chocolade

    Chocolade

    Joined:
    Jun 19, 2013
    Posts:
    595
    In the first screenshot the Timeline the start. When I hit play or dragging the time slider all 3 characters the two soldiers and the female in the middle will start walking. When they get to the HumanoidIdle animation part the two soldiers will change to idle on the last position they are but the female the one in the middle that also the virtual cameras follow will change it's her position back to the original start position.



    Why she move back when changing to idle ?

    You can see the problem here on the second screenshot:



    In the third screenshot the Navi vcam (first virtual camera) settings. I'm following the female character the one in the middle:



    On the last screenshot the Navi vcam (1) This is the second virtual camera with this one I'm following and Look At the female character in the middle:



    I can't figure out why when it's changing the animations from walk to idle the character with the virtual camera/s change it's own position back to the start original position and not staying in the last/current position like the soldiers ?
     
  2. Chocolade

    Chocolade

    Joined:
    Jun 19, 2013
    Posts:
    595
    Found a solution but why it's not built in automatic already in the Timeline ?

    What I did is on each of the Idle animations on each Animation track is right mouse click then: Match Offsets To Previous Clip.

    Then on the Female animation track I also did on Track Offsets: Apply Scene Offsets
    On the two soldiers animation tracks i did on Track Offsets: Apply Transform Offsets

    Took me sometime to found out this combination to work.

    Why it's not automatic set already ? Why do I have to mess with it too much to find work around ?