OctTreesceneNode crash
Posted: Wed Jun 29, 2005 10:50 am
I've tried to make this to create a scene :
When I run it crash at line 4 (if...)
Code: Select all
IAnimatedMesh * geometriaScena = smgr->getMesh("./geometrie/aiuola.3ds");
ISceneNode * Scena;
if (geometriaScena)
Scena = smgr->addOctTreeSceneNode(geometriaScena->getMesh(0));
else
std::cout<<"NO";
Scena->setPosition(vector3df(0,0,0));