Search Unity

Can you use Navmesh with a Custom Character controller?

Discussion in 'Navigation' started by petey, Mar 10, 2018.

  1. petey

    petey

    Joined:
    May 20, 2009
    Posts:
    1,824
    Hi all,

    I was wondering if it would be possible to use the Unity navmesh system with my character's custom controller rather than the navemesh agent?
    Currently my character is controlled around the scene with a simple waypoint system I whipped up and I thought it might be nice to utilise some of the features with Navmesh, like avoidance.
    Does that sound like it might be achievable?

    Thanks,
    Pete
     
  2. snacktime

    snacktime

    Joined:
    Apr 15, 2013
    Posts:
    3,356
    For pathfinding yes just make manual queries. Avoidance no, that feature is specific to agents.
     
  3. petey

    petey

    Joined:
    May 20, 2009
    Posts:
    1,824
    Ahh okay, got it. Thanks for the heads up.