Search Unity

Question My Animation is not working and I don't know why.

Discussion in 'Animation' started by New2Unity12, Oct 10, 2022.

  1. New2Unity12

    New2Unity12

    Joined:
    Jul 7, 2022
    Posts:
    3
    My character's animations suddenly stop after playing for about 1 second and I can't track the problem down. Here are the pictures of my animation chart and code(The code is just test code to try to make the animations work it will not move the character).
    Screen Shot 2022-10-10 at 1.12.13 PM.png Screen Shot 2022-10-10 at 1.12.25 PM.png Screen Shot 2022-10-10 at 1.12.49 PM.png Screen Shot 2022-10-10 at 1.12.00 PM.png
     
    Last edited: Oct 10, 2022
  2. New2Unity12

    New2Unity12

    Joined:
    Jul 7, 2022
    Posts:
    3
    Okay... I fixed the problem by turning on looping. If I face anymore problems I will ask it here.
     
  3. MelvMay

    MelvMay

    Unity Technologies

    Joined:
    May 24, 2013
    Posts:
    11,500
    Glad it's working for you but to note though, when you post code on the forums, please use code-tags rather than posting images of code. It's far easier for others to refer to and even copy/paste in any replies.

    Thanks.