Home > other >  3 d game development, terrain can be changed dynamically
3 d game development, terrain can be changed dynamically

Time:09-20

Do the game, players can dynamically change the terrain, and players can fly, can climb vertical

I have two ideas:
In U3D plugin baked navmesh, server load navmesh resource into memory, when change the terrain (for example) to build a house, then the server dynamically change the navmesh memory data (it involves trying to understand the navmesh), with the navmesh can also solve the problem of pathfinding,
2. The second idea, but there are two
1). In 2 d grid coordinate system, x and y determine a grid, a grid data structure: height, if there is a cave scene the ghost thing (is in an x, y coordinates with multiple players can stand this place), then add multiple data structure for (how many layer) : high threshold, high ceiling (temporarily so understand, anyway is adding complex data structures to expresses the multilayer,
2) : 3 d grid coordinate system, I think this can really solve the problem of a lot,

Please the great god the idea a few comment to modify

CodePudding user response:

3 d grid coordinate system good yao

CodePudding user response:

After another wall bumps bumps
  • Related