Search Unity

Character stretches when falling

Discussion in 'General Discussion' started by Sans4Days, Apr 14, 2021.

  1. Sans4Days

    Sans4Days

    Joined:
    Mar 31, 2021
    Posts:
    4
    Sorry if this isn't the right place to ask, I'm still pretty new, but whenever my character falls during its fall animation its sprite stretches. There is no stretching in the animation its self I haven't been able to find anything about this, or a way to solve this. here's a video of it happening in game (loud audio warning):
     
  2. Murgilod

    Murgilod

    Joined:
    Nov 12, 2013
    Posts:
    10,160
    Is it stretching or is it rotating along the camera's up axis? Check the inspector and see if the scale value or the rotation value is set wrong on your animations.
     
  3. Sans4Days

    Sans4Days

    Joined:
    Mar 31, 2021
    Posts:
    4
    the rotation and the scale aren't changing.
     
  4. Murgilod

    Murgilod

    Joined:
    Nov 12, 2013
    Posts:
    10,160
    It looks like one of your animation clips might have the character rotated by 90 degrees along the Y-axis and it's attempting to transition to that state. Can you post a screenshot of your animation contoller?
     
  5. Sans4Days

    Sans4Days

    Joined:
    Mar 31, 2021
    Posts:
    4
    I'm sorry if this sounds dumb, but where is the animation controller?
     
  6. Murgilod

    Murgilod

    Joined:
    Nov 12, 2013
    Posts:
    10,160
    My bad. What I meant to say was to double click on the grey button near the bottom there labelled "Blend Tree," the one where the progress bar flickers, above the orange one. Make sure you aren't in play mode and send a screenshot of that, please.
     
  7. Sans4Days

    Sans4Days

    Joined:
    Mar 31, 2021
    Posts:
    4
    here, hope this helps
     

    Attached Files:

  8. ActivePrime

    ActivePrime

    Joined:
    Jan 28, 2014
    Posts:
    147
    I read this whole thread and I found out I am bad at this