What you need to do is to initialise the nLaserWeapon with nLaserWeapon like this
Code: Select all
nLaserWeapon = smgr->addAnimatedMeshSceneNode(mLaserWeapon);
Good Luck.
Code: Select all
nLaserWeapon = smgr->addAnimatedMeshSceneNode(mLaserWeapon);
Code: Select all
SIrrlichtCreationParameters