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

how i can programing the animations on the NPC

Discussion in 'Animation' started by valycreeaza, Nov 2, 2018.

  1. valycreeaza

    valycreeaza

    Joined:
    Nov 2, 2018
    Posts:
    1
    My problem is the next : I have 3 animations .. one is idle , one is move and one is to build because my NPC is a builder . Animations will start through idle animation after move and build ... I tryed many posibilities but, was wrong.
    I decided to ask you because you know better than me .. so , my builder is initially in idle position , to my command when it must move it must go to move animation , then reached the place where he must build for 3 seconds transition to build animation and after come back through ->move ->idle .. thats all ... what is the good method to do this?
     
  2. lipisis

    lipisis

    Joined:
    Jan 14, 2017
    Posts:
    37
    Check animation triggers tutorials. Basically you need to add triggers to each animation in script you only need to call those triggers.