You all know the example of collision detection that is standard with irrlicht...
I made a modification so I can use a 3ds file instead of a quake3 file. but when I execute my program i get a black screen anyone knows what code you have to modify?
this is the code I changed from the original file:
//device->getFileSystem()->addZipFileArchive("c:/eindwerk/code/media/map-20kdm2.pk3");
//scene::IAnimatedMesh* q3levelmesh = smgr->getMesh("20kdm2.bsp");
//scene::ISceneNode* q3node = 0;
scene::IAnimatedMesh* q3levelmesh = smgr->getMesh("c:/eindwerk/code/media/room.3ds");
scene::ISceneNode* q3node = 0;
"collision detection" example of irrlicht
-
- Posts: 17
- Joined: Thu Aug 11, 2005 11:57 am
Did you use The setPosition() function from the demo ???
It sets the node far away from the center of the world, because the Quake node is not at position 0,0,0 !!!
It sets the node far away from the center of the world, because the Quake node is not at position 0,0,0 !!!
while(!asleep) sheep++;
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
IrrExtensions:
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java