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
  3. Dismiss Notice

Question Get (Set)LookAtPosition for a humanoid in mechanim

Discussion in 'Animation' started by sstrong, Jun 25, 2022.

  1. sstrong


    Oct 16, 2013
    Is there any way to get or calculate the current body animator LookAtPosition for a humanoid?

    Or, which bones are used for the body SetLookAtPosition? If possible, I'd like to determine the current look at position or direction the body is aiming at in OnAnimatorIK BEFORE setting SetLookAtPosition.

    NOTE: I'm NOT using Playables or AimConstraints.