Navigation groups

BeginnerLevel designerProgrammer

Navigation groups define different navigation properties for the entities you add to them. You define navigation groups in the project game settings.

You can create different navigation groups for different kinds of entity. For example, if your game features vehicles controlled by scripts, you might create different navigation groups for different sizes of vehicle, each with different properties: a car group, a bus group, a motorcycle group, and so on.

Create a navigation group

  • In the Solution Explorer (the bottom-left pane by default), select the Assets folder.

Select Assets folder asset

  • In the Asset View (the bottom pane by default), select the Game Settings asset.

Select Game Settings asset

  • In the Property Grid (the right-hand pane by default), expand Navigation Settings.

Game settings

  • Next to Groups, click Green plus button (Add).

    Game Studio adds a new item to the list of navigation groups.

Navigation group properties

  • Set the properties for the navigation group. Entities you add to this group use these properties.

Navigation group properties

In most cases, the navigation group properties should approximately match the properties in the character component of the entities in the group, if they have one.

PropertyDescription
ItemThe name of the group
HeightThe height of the entities in this group. Entities can't enter areas with ceilings lower than this value
Maximum climb heightThe maximum height that entities in this group can climb
Maximum slopeThe maximum incline (in degrees) that entities in this group can climb. Entities can't go up or down slopes higher than this value. In most cases, this should be approximately the same value as the max slope property in the character component of the entities in this group, if they have one.
RadiusThe larger this value, the larger the area of the navigation mesh entities use. Entities can't pass through gaps of less than twice the radius.

See also