Difference between revisions of "Navcloud"

From Off Grid Wiki
Jump to: navigation, search
 
Line 12: Line 12:
 
==Navcloud Generation==
 
==Navcloud Generation==
  
To generate the navcloud it's only needed to select the option in the Unity menubar: Offgrid -> Generate NavCloud.
+
Navcloud can be generated from the Levelkit Tool.
  
If doesn't exist any navcloud boundaries component in the scene it's still possible to generate the navcloud, but it will be the size of the level (the generation can take some time to finish in this case). In the case that will be found more than one navcloud boundaries component, it will show a dialog box warning that the generation it will only take into account the first component found.   
+
If you don't have a Navcloud Boundaries set up in your scene, generating navcloud will generate it for the whole scene volume (which can take a long time for a large level).  
  
  
 
[[Category:Modding]]
 
[[Category:Modding]]

Latest revision as of 10:30, 8 August 2019

Introduction

Navcloud is used to define the area where drones can move, and to provide them wiht environment data they need to navigate around.

Set Navcloud Boundaries

Before you generate a navcloud it's recommended to set it's boundaries to avoid creating larger volumes than needed. This is especially important if you make a large level where only part of the area is actually playable. To set the navcloud boundaries you need to first add the 'Nav Cloud Boundaries' component to a new empty gameobject in the scene. When that object is selected, it will display a yellow cube widget in your scene for adjusting the navigation volume's placement and dimensions. The red volume displays the actual navigation volume that will be generated.

NavCloudBoundariesExample.png

Navcloud Generation

Navcloud can be generated from the Levelkit Tool.

If you don't have a Navcloud Boundaries set up in your scene, generating navcloud will generate it for the whole scene volume (which can take a long time for a large level).