Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Is it possible to use a MeshRenderer as a NavMeshSourceTag?

Discussion in 'AI & Navigation Previews' started by robson_depaula, Feb 24, 2017.

  1. robson_depaula

    robson_depaula

    Joined:
    Sep 30, 2014
    Posts:
    37
    Hello,

    I'm experimenting with LocalNavMeshBuilder and NavMeshSourceTag on top of Unity 5.6.0b9 and it works fine for 3D objects with a MeshFilter.

    However I have interest in using a GameObject that has a MeshRenderer (without a MeshFilter) as a NavMeshSourceTag.

    Do you guys think it would be possible?

    Thank you
     
  2. robson_depaula

    robson_depaula

    Joined:
    Sep 30, 2014
    Posts:
    37
    Sorry to bump this. Actually with a bit of customizations on the NavMeshSourceTag.cs and my own procedural level generation scripts I got it working.

    Thanks.
     
    laurentlavigne likes this.