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 Animator.MatchTarget issues

Discussion in 'Animation' started by spylefkaditis, Jun 30, 2020.

  1. spylefkaditis

    spylefkaditis

    Joined:
    Jul 3, 2016
    Posts:
    22
    I've seen similar questions to this before but nothing that can answer my question.

    I'm trying to use Animator.MatchTarget to have the characters hands grab a ledge during a jump animation. I've created an empty GameObject as my target for the time being and I've ran into a few issues.

    I'm currently using a Character Controller to handle my movement, and in place motions for my animations.

    I have some weird issues.

    1. With my Character Controller enabled, MatchTarget doesn't behave as expected. It seems to only take the Z axis into account. Disabling the Character Controller gives me the result I want.

    Is this expected behaviour? Are there any alternatives ways of matching my animation for varying heights?
     
    Last edited: Jul 3, 2020