Navcloud: Difference between revisions

From Off Grid Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
== Introduction ==
 
= Introduction =


Navcloud it's needed for the drones navigation, they can only move in the navcloud area.
Navcloud it's needed for the drones navigation, they can only move in the navcloud area.


== Set Navcloud Boundaries ==
= Set Navcloud Boundaries =


Before generate a navcloud it's recommended to set it's boundaries to avoid creating larger volumes than needed. To set the navcloud boundaries first must be added the 'Nav Cloud Boundaries' component in any game object of the wanted scene. With the component added with will be showed in the scene a yellow cube, that can be changed it's position and size, this cube is a helper to create the red cube that represent the navcloud area that will be generated (cubes colors can be changed in the inspector), this area have all it's sides in the same size. We can see an example in the screenshot bellow:  
Before generate a navcloud it's recommended to set it's boundaries to avoid creating larger volumes than needed. To set the navcloud boundaries first must be added the 'Nav Cloud Boundaries' component in any game object of the wanted scene. With the component added with will be showed in the scene a yellow cube, that can be changed it's position and size, this cube is a helper to create the red cube that represent the navcloud area that will be generated (cubes colors can be changed in the inspector), this area have all it's sides in the same size. We can see an example in the screenshot bellow:  
Line 9: Line 10:
[[File:NavCloudBoundariesExample.png]]
[[File:NavCloudBoundariesExample.png]]


== Navcloud Generation ==
= Navcloud Generation =


To generate the navcloud it's only needed to select the option in the Unity menubar: Offgrid -> Generate NavCloud.
To generate the navcloud it's only needed to select the option in the Unity menubar: Offgrid -> Generate NavCloud.

Revision as of 17:56, 22 July 2019

Introduction

Navcloud it's needed for the drones navigation, they can only move in the navcloud area.

Set Navcloud Boundaries

Before generate a navcloud it's recommended to set it's boundaries to avoid creating larger volumes than needed. To set the navcloud boundaries first must be added the 'Nav Cloud Boundaries' component in any game object of the wanted scene. With the component added with will be showed in the scene a yellow cube, that can be changed it's position and size, this cube is a helper to create the red cube that represent the navcloud area that will be generated (cubes colors can be changed in the inspector), this area have all it's sides in the same size. We can see an example in the screenshot bellow:

Navcloud Generation

To generate the navcloud it's only needed to select the option in the Unity menubar: Offgrid -> Generate NavCloud.

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.