Code: Select all
pas->setParticleSize(core::dimension2d<f32>(5.0f,5.0f));
scene::IParticleEmitter* em = pas->createBoxEmitter(core::aabbox3d<f32>(-5,-5,-5,5,5,5),Impacts[i].outVector, 20,40, video::SColor(0,255,255,255),video::SColor(0,255,255,255),120,120,0,core::dimension2df(5.0,5.0),core::dimension2df(5.0,5.0));
"setParticleSize is deprecated, use setMinStartSize/setMinStartSize in emitter"
and then creates em.
Why do i get this message on console window and what should be my changes in the above code