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

Question Nav Mesh Agent and Rig Builder

Discussion in 'Navigation' started by ReeDimm, Jul 1, 2022.

  1. ReeDimm

    ReeDimm

    Joined:
    Jul 13, 2021
    Posts:
    29
    Hey!

    How can I make Nav Mesh Agent and Rig Builder to work? I have them on the same object, I use rig builder so that character can look at me and I use Nav Mesh Agent so that he can follow me. But those two don't work together. In order for character to follow me I need to turn Rig Builder off(disable it). How can I fix it?
     
  2. wilvis_unity

    wilvis_unity

    Joined:
    Nov 7, 2019
    Posts:
    1
    Hi,
    Im having the same problem. Did you figure out a fix?
     
  3. ReeDimm

    ReeDimm

    Joined:
    Jul 13, 2021
    Posts:
    29
    Not yet
     
  4. Inxentas

    Inxentas

    Joined:
    Jan 15, 2020
    Posts:
    275
    Is this about Animation Rigging? Then it's quite simple. Make the animated/rigged object a child of the NavMeshAgent object. This is how I do it. I'm not sure, but I'm guessing it has to do something with transforms being set by two different sources or something.

    As a rule of thumb I let the NavMeshAgent dictate the movement of the "whole" and treat animation rigging as the "inner details".
     
    FlightyFelon likes this.