to be more specific the lazer out of the 4 guns section. Each time the gun is loaded and placed in the World the textures are not assigned to it and it appears black. Now I've noticed that for some reason it is only loading the texture and mesh on the second time but I am getting told that both are loaded.
I have the following code:
Code: Select all
scene::IAnimatedMeshSceneNode *Gun = Smgr->addAnimatedMeshSceneNode(Smgr->getMesh(".\\meshes\\lazer.3ds"));
Gun->setPosition(core::vector3df(-70,0,-90));
Gun->setScale(core::vector3df(2.0f,2.0f,2.0f));