Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Bug NPC teleporting and not doing the right animation

Discussion in 'Animation' started by westergard, Nov 17, 2022.

  1. westergard

    westergard

    Joined:
    May 4, 2015
    Posts:
    60
    Hello there,

    i have a NPC, a skeleton, on which i put an animator which plays a crawling animation and then an idle animation. I think i have set it up right. In the inspector, i can see the crawling animation, then followed by the idle.

    In play mode, my crawling animation does not happen, my NPC teleports from below the floor to over it, then it plays the idle animation. It seems like the root is teleporting, without the animation playing.

    Any idea what i might be doing wrong? Thanks for your help. In the zip file, you can see the video of the inspector, the video in the play mode, and a picture for how my inspector is setup on my NPC.
     

    Attached Files:

  2. westergard

    westergard

    Joined:
    May 4, 2015
    Posts:
    60
unityunity