i need help because my friend made a 3d terrain in 3ds max but i cant figure out how to make it show up in irrlicht.
also, i want to know how to make a third person camera, ive tried but it wont follow the player evenly when the player is walking on a terrain
third person camera & 3ds support
Simple question, simple answer. Export the terrain to your desired format (.x, .my3d, .3ds, etc.) then check the tutorials on how to import said terrain using the getMesh() method. Coming straight from Tutorial 1:
For the 3d person camera, search (click "search" on the top menu) and put in "3rd AND person AND camera" in the text box then hit search. The top results will lead you in the right direction.
Code: Select all
scene::IAnimatedMesh* mesh = smgr->getMesh("20kdm2.bsp");
scene::ISceneNode* node = 0;
if (mesh)
node = smgr->addOctTreeSceneNode(mesh->getMesh(0));