Skip to content

capdevon/jme-navmesh-ai

Repository files navigation

jme-navmesh-ai

This project was born with the aim of creating a bridge API between the recast4j library and jMonkeyEngine.

This project optimizes and adds new tools and features to the original project jme3-recast4j

🔔 If you found this project useful, please let me know by leaving a like to motivate me to improve it. Thanks.

Features

  • NavMeshAgent that allows you to move the character in the Scene using the NavMesh.
  • NavMeshQueryFilter - Specifies which areas to consider when searching the NavMesh.
  • NavMeshTools - Use the NavMesh class to perform spatial queries such as pathfinding and walkability tests.
  • NavMeshModifier allows you to control how certain objects are treated during the NavMesh build process, specifically when collecting sources for building.
  • NavMeshBuildSettings allows you to specify a collection of settings which describe the dimensions and limitations of a particular agent type.
  • NavMeshAssetManager to export NavMesh in .obj format.
  • Graphic Editor to modify the NavMesh generation parameters at Runtime.

Requirements

The individual projects and their respective requirements used in this demo can be found by following these links.

  • jmonkeyengine - A complete 3D game development suite written purely in Java.
  • Minie - A physics library for JMonkeyEngine.
  • recast4j - Java Port of Recast & Detour navigation mesh toolset.
  • Lemur - jMonkeyEngine-based UI toolkit.
  • java 11+

Documentation

Youtube videos

Demo Navigation-mesh

NavMesh, Pathfinding Agents, Box and Circle Formation

Crowd Agent Screenshot ⭐NEW Editor Screenshot Solo NavMesh Screenshot Exports the NavMesh in .obj format Screenshot

Credits

Huge thanks to MeFisto94 ad mitm001 for writing the original project this is based on.

Bug report / feature request

The best way to report bug or feature request is github's issues page.