Walls and ceilings?

Hi there - I am currently on the fence about purchasing this project, and wanted to know if the following is possible:

Say I have a very large cube where I’ve inverted its normals - this means the player is inside it, like a room. Can A* create a navmesh on the interior of this cube, allowing objects to walk on walls and ceilings?

With the standard Unity navmesh, it appears I must have six separate objects, bake their navmesh while they’re flat, then stitch them together using navmesh link. Needless to say that would be extremely tedious and very difficult to prototype. I’m hoping there’s an easier way using this project!

Hi

This is possible with a navmesh that you create manually using a 3D modelling program. Like Unity, this package cannot automatically generate a navmesh for world like that.

There is a beta version that has better movement script support for non-planar worlds. You can find it at https://www.arongranberg.com/astar/download if you click on the ‘show older versions’ button, look for the ‘spherical beta’ version.

Here is a documentation page for that beta which explains more about how to create these kinds of navmeshes: https://www.arongranberg.com/astar/documentation/spherical_4_1_20_17f940b2/spherical.html
And here is the documentation page for how to create navmesh manually https://www.arongranberg.com/astar/documentation/spherical_4_1_20_17f940b2/createnavmesh.html


1 Like