Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    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:
    90
    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:
    90