Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the process of creating geometry data to assist on NPCs movements and such on a 3D world to avoiding having them from going through the ground, etc? Are there specific modelling programs that can create the world and the collision geometry to be used?

The map I made has caves, lakes with deep water, varying terrains heights, mountains, etc.

share|improve this question

closed as off-topic by Byte56 Nov 26 '14 at 16:36

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions about "how to get started," "what to learn next," or "which technology to use" are discussion-oriented questions which involve answers that are either based on opinion, or which are all equally valid. Those kinds of questions are outside the scope of this site. Visit our help center for more information." – Byte56
If this question can be reworded to fit the rules in the help center, please edit the question.

Are you meaning a navmesh; the grid of nodes that NPCs can follow? – The Communist Duck Dec 19 '10 at 11:51
Does your world have caves/overhangs, or is it a pure heightmap? – Martin Dec 19 '10 at 14:44
It has caves, lower and highs lands, mountains. So when I sent some random walk ai for the NPCS they often go underground, behind walls andso forth. – Prix Dec 19 '10 at 18:06
up vote 5 down vote accepted

Check out recast:

It has a lot of good starting points. You'd have to extend it for how you want things like water to be treated, but it's probably the closest thing to a free out of the box solution out there that I know of.

share|improve this answer
A very nice Open Source project Recast and Detour. Recast creates the Nav Mesh and Detour creates pathing on the mesh. The project was created by Mikko Mononen, the Lead AI Programmer on Crysis. His personal blog has development information on the project – David Young Dec 21 '10 at 0:09

Not the answer you're looking for? Browse other questions tagged or ask your own question.