Search Unity

Question How to sync animation speed with movement speed?

Discussion in 'Animation' started by Joggla, Feb 5, 2023.

  1. Joggla

    Joggla

    Joined:
    Dec 2, 2019
    Posts:
    88
    So I downloaded a bear model from the assetstore with premade animations.
    I use the walk animation when the bear moves forward.
    However if the movement speed is to fast it looks like he is sliding.

    So my question is:
    Do you just try out different animation speeds and movement speeds unitl it looks smove. So trial and error...
    or do is the way to make this work without having to tweek values again and again until it looks right?
     
  2. arfish

    arfish

    Joined:
    Jan 28, 2017
    Posts:
    782
    Perhaps you could measure the length of one step, and use that distance to figure out how fast the clip should be played at different speeds?
     
  3. LethalGenes

    LethalGenes

    Joined:
    Jan 31, 2023
    Posts:
    69
    Flag a bool in the animator.