Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    Navigation bounding boxes

    Beginner Level designer Programmer

    Navigation bounding boxes define the area that navigation meshes cover. You can use them to create smaller navigation areas in your scene, rather than having a mesh cover the entire scene.

    The Scene Editor displays the bounding box as a blue outline.

    Bounding box shown

    Create a navigation bounding box

    To create a navigation bounding box, add a navigation bounding box component to an entity.

    1. In the scene, select the entity you want to contain the bounding box, or create a new entity.

    2. With the entity selected, in the Property Grid, click Add component and select Navigation bounding box.

      Add navigation bounding box

      Game Studio adds a navigation bounding box to the entity.

    3. Under the Navigation bounding box component properties, use the XYZ values to set the size of the bounding box.

      Navigation bounding box properties

    4. Use the entity's transform component to position the bounding box in your scene.

    Show or hide the bounding box in the Scene Editor

    In the Scene Editor toolbar, open the gizmo options menu and use the Navigation bounding box checkbox.

    Navigation bounding box checkbox

    Bounding box hidden Bounding box shown (note blue box outline)
    Bounding box hidden Bounding box shown

    See also

    • Navigation groups
    • Navigation meshes
    • Navigation components
    • Dynamic navigation
    • Improve this Doc
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation