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.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice
  4. Dismiss Notice

Problem with animation rigging and animator controller

Discussion in 'Animation' started by Mandalore_the_Creator, Apr 29, 2021.

  1. Mandalore_the_Creator

    Mandalore_the_Creator

    Joined:
    Feb 5, 2021
    Posts:
    10
    Screenshot (5).png Hello, I have problem with Animator Controller and Animation Rigging. I can't use them at the same time. but when I still used playmaker, I can. Can anyone help me?
     
  2. Yandalf

    Yandalf

    Joined:
    Feb 11, 2014
    Posts:
    491
    You should be able to use them at the same time, if your setup is right.
    It's a bit hard to tell with your screenshot how you've set things up, so here's some remarks on what you could be doing wrong based on my guesses:
    -Make sure there is a RigBuilder component attached to the GameObject with the AnimatorController component. I am guessing this is either Player or Basic Motions Dummy.
    -Make sure all your rigs are a child of the Object with the RigBuilder component. If that is Player, this should be all right, but considering your debug warnings there could be your problem.
    -Make sure there's a Rig Component attached to the GameObject you want to build your rig from. That should be Rig Layer.
    -Make sure all your rigs are referenced in the RigBuilder component.
     
  3. Mandalore_the_Creator

    Mandalore_the_Creator

    Joined:
    Feb 5, 2021
    Posts:
    10
    Thanks, everything done correctly but still didn't work. Before I put the two bone IK target, everything working, but then everything stop working after I put the target. Here is my setup : Screenshot (17).png Screenshot (13).png Screenshot (18).png
     
  4. Yandalf

    Yandalf

    Joined:
    Feb 11, 2014
    Posts:
    491
    That's interesting... Are you sure there isn't an Animator on the Basic Motions Dummy object as well?
     
  5. Mandalore_the_Creator

    Mandalore_the_Creator

    Joined:
    Feb 5, 2021
    Posts:
    10
    No, there isn't
     
  6. Mandalore_the_Creator

    Mandalore_the_Creator

    Joined:
    Feb 5, 2021
    Posts:
    10
    interestingly if I didn't attach the animator into any animator controller and avatar, it worked

    Edit : it's finally working, thanks. I only have to delete the player parent and make the character model as an parent player
     
    Last edited: Apr 30, 2021