Skip to content

kergalym/NavMeshGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NavMeshGen

Renewed NavMesh Generator for Panda3D was taken from run4life repo and modified for Python 3 support.

Requirements

  • Panda3D 1.10.x
  • Python 3.x
  • Regular and collision meshes in EGG format

How to create navigation mesh in Blender 2.8+

Create grid with 64 X and 64 Y subdivisions. Rotate it to 90 degrees by X. Set scale to 70. Then export it as fullMesh.egg and collMesh.egg, using YABEE for Blender 2.8.x.

How to use

This script creates a 'navmesh.csv' (which is used by the pathfinder in PandAI)

To run the script, do: (Please use the correct syntax in the command line)

python3 NavMeshGen.py fullMesh.egg collMesh.egg

You can test freshly generated navmesh.csv with Static Obstacles example

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages