hello (bonjour) all, i have a big question :
1)when you add a carater or a door to a level; how to know exactly where you must put the caracter/ objet / item (coord_x, coord_y, coord_z)?
2)did the irlicht level editor work with irrlicht coordinates ?
3)how to positionnate the camera in the 3d world exacltly ?
camera->setposition(); ?
4)and what is the best idea to work with XLM (xlm editor ? someone use it ?)
thanks you for all !
ENVIRRONEMENT,LEVEL EDITOR,DEVELOPPEMENT PROCESS
1) there are different methods:
for example for a respawn point -> make a respawn object in editor, and in the game, you insert the model, put to that object.
or, you make a noclip character, go there where you wanna respawn, get the current pos (debug or something) and write it to your code.
or you get the height of the terrain, and put there.
you have to decide it.
2) what do you mean about irrlicht coordinates?
3) yeah camera->setPosition(vector3df(x,y,z));
4) xlm editor? why do you need it?you can make it from notepad, visual c++, dreamveawer, or anything.
for example for a respawn point -> make a respawn object in editor, and in the game, you insert the model, put to that object.
or, you make a noclip character, go there where you wanna respawn, get the current pos (debug or something) and write it to your code.
or you get the height of the terrain, and put there.
you have to decide it.
2) what do you mean about irrlicht coordinates?
3) yeah camera->setPosition(vector3df(x,y,z));
4) xlm editor? why do you need it?you can make it from notepad, visual c++, dreamveawer, or anything.