Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question Get (Set)LookAtPosition for a humanoid in mechanim

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

  1. sstrong

    sstrong

    Joined:
    Oct 16, 2013
    Posts:
    2,108
    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.