Git Product home page Git Product logo

godot_navigation2d_generator_plugin's Introduction

Godot Navigation2D Generator

Godot Navigation2D Generator is a plugin for the Godot Engine. It is designed to make 2D navigation polygons significantly faster to create and update. Navigation polygons are generated based on collision shapes you already need and have in your scenes.

How to install

Official plugin installation instructions may be found here. You may either install this plugin through the Godot Asset Library, or you can download a zip file directly from GitHub.

How to use

To use this plugin simply enable it, you can find the official instructions here.

  • Select the NavigationPolygonInstance you would like to generate.
  • Create the desired "base" polygon shape (this is usually the shape of a room or area in your game).
  • Set the "Precision" which corisponds to the number of verticies that will be used to create the cutouts. Smaller numbers result in more verticies.
  • Set the "Actor Radius" which corrisponds to the collision shape radius of your AI (or "Actors") that will be using this navigation polygon. This will add padding to your collision shapes as Navigation2D does not normally take this into account.
  • Any CollisionShape2Ds or CollisionPolygon2Ds that you want to ignore need to have the "exclude_navmesh" group added to them.
  • Click the generate button.

Note: This plugin supports undo/redo so feel free to fiddle with settings!

License

This plugin is MIT licensed. The license file is located at addons\godot_navigation2d_generator_plugin\LICENSE.

godot_navigation2d_generator_plugin's People

Contributors

dweremeichik avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.