Search Unity

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,251
    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.