Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

using root motion from the animation without looping back to start

Discussion in 'Animation' started by steveh2112, Mar 3, 2020.

  1. steveh2112

    steveh2112

    Joined:
    Aug 30, 2015
    Posts:
    235
    i am writing an AI system for NPCs and want to use animation root motion vs. moving with rigidbody.MovePosition, maybe that's a bad idea?

    anyhow, if i set root transform position xz in the animation, it moves but then loops back at the end which is not what, i want for walking, running, etc

    any ideas how to keep it moving?

    thx
     
    Last edited: Mar 3, 2020
unityunity