Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Animations.AnimationStream what return root motion position

Discussion in 'Animation' started by EZGVogan, Apr 3, 2021.

  1. EZGVogan

    EZGVogan

    Joined:
    Mar 22, 2021
    Posts:
    2
    Hello everyone,

    I'm actually wondering what is the vector3 returned by the method animationstream.rootMotionPosition. I first thought it would return the animated object root motion global position. And that's what i wanted. But after logging it it was always (0,0,-1.3). And I dont get why it gives that result. Can anyone explain how it actually works ?

    Thank you,
    Vogan