i want to create map editor inside blender game engine, i know python,
I created game assets and i want to put them on terrain i created before, but the question is how...
How to make object add on the surface of terrain not in air
i want to create map editor inside blender game engine, i know python,
I created game assets and i want to put them on terrain i created before, but the question is how...
How to make object add on the surface of terrain not in air
You would be better off forgetting the game engine part of it, unless you plan on sticking with 2.79 for a while. Game engine has been removed from future versions. Look at the current Terrain editor addon, ANT Landscape, and see how it works if you need someplace to start. However, you can use the Library addon and snap to closest face, to get alot of what you probably want already.
not really any point in re-inventing the wheel. Then, decide what features are missing that you want to add or improve from that point. The project would be more feasible that way.
i would split the map editor up in two parts, Terrain editor and Prod editor.
For the Terrain i would do it with textures maps, so when you edit the terrain you are painting on Bump,Normal,Spec,Diff and so on.
For the prod you need to make a inventory like menu, and then Edit object "add/remove" in a RTS like way.
This might be a quite big project, but if you split up the problems in smaller pieces i think it can be done, and it will make it way more convenient for other ppl to help you with it.