Forum rules - please read before posting.

Terrain point-and-click navigation

Hi,

What's the best way to navigate a Unity-generated terrain using point and click? Is trying to tile the terrain with NavMeshSegments a good idea in general?

Comments

  • NavMeshSegments are there to aid those building very simple scene layouts - more of a convience.  But for something complex like a terrain, you're better off baking the NavMesh from the terrain directly.  You'll need to then move the Terrain's collider onto the NavMesh layer, so that it responds to the Point and Click algorithm.  The 2.5D tutorial does something similar.


  • Thanks, Chris! I'll try this as soon as possible.

  • It works great. Thank you very much! :)
  • How do I move the Terran collider to the NavMesh layer for point and click movement? I already put the Terrain object on the Navmesh layer, but not registering click to move actions. Must I also add a mesh collider to the Terrain?
    It's already baked and I can walk around in third-person camera with direct, but when trying point-and-click it fails to move.

  • I got it to work nevermind. Was a layer issue.

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.