Search Unity

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

Terrain and Mesh

Discussion in 'Game Design' started by charanchaganti, Jul 19, 2022.

  1. charanchaganti


    Mar 16, 2022
    Hi Everyone,

    I have created a terrain with some textures, now to place some tanks and other objects and to make them move on the terrain. I need to create a mesh and bake it to create a NavMesh so that I can move the tanks automatically based on the waypoints that I enter. Even though I added a mesh component to this terrain gameobject, I couldn't generate a mesh file. Please suggest how to create a mesh from this terrain and make the tanks move on this terrain

    Thanks in advance
  2. kdgalla


    Mar 15, 2013
    What do you mean by mesh component? Do you mean a mesh filter, mesh renderer, mesh collider? None of these have anything to do with terrains or navmeshes, so don't add any of these.

    You don't need to add a special component. Simply set the terrain as static and bake the navmesh in the navigation tab.