firstly sorry for my bad english :s
I m trying to add a light scene node and animate it
All work perfectly, but i couldn't detach my lightscenenode from my camera node start :s
here the code i use :
if someone could help me thank for all//reposition de la camera car map non positionné en 0,0,0
if (node != null)
node.Position = (new Vector3D(-1300, -144, -1249));
//on rajoute une cam pour se promener :p
device.SceneManager.AddCameraSceneNodeFPS();
//on rajoute une lumiére rouge
ISceneNode light = null;
light = smgr.AddLightSceneNode(null,new Vector3D(),new Colorf(1.0f, 0.6f, 0.7f, 1.0f),600.0f,0);
ISceneNodeAnimator anim = smgr.CreateFlyCircleAnimator(new Vector3D(),25.0f,0.0005f);
light.AddAnimator(anim);
//lumiere de la particule
light = smgr.AddBillboardSceneNode(light, new Dimension2Df(50, 50),new Vector3D(),0);
light.SetMaterialFlag(MaterialFlag.LIGHTING, false);
light.SetMaterialType(MaterialType.TRANSPARENT_ADD_COLOR);
light.SetMaterialTexture(0,driver.GetTexture(path+"particlered.bmp"));