can anybody help me, please .. I modify the #2 tutorial
I load not a quake3 map, but a cubus.3ds und set texture
Code: Select all
if (node)
{
node->setPosition(core::vector3df(-100,-100,0));
node->setMaterialFlag(EMF_LIGHTING, false);
node->setMaterialTexture( 0, driver->getTexture("../../media/t351sml.jpg") );
}
second problem I want set the cubus as camera target (camera allways show on cubus)
'setTarget' : is not element of 'ISceneManager'
Code: Select all
smgr->addCameraSceneNodeMaya ();
smgr->setTarget(node);
please plaese help me
*wink*