Hi Community, I am trying to work with the sample particle effects, and to change their speed. I thought it is enough to change the default particle template velocity, but whatwever I do it seams it has no effect. Here is some snippet of my approach. Anyone with hint? Thanks a bunch as always
osg::ref_ptr<osgParticle::ParticleEffect> effect; effect = new osgParticle::SmokeEffect(osg::Vec3(0, 0, 0), scale, intensity); osgParticle::Particle& particle = const_cast<osgParticle::Particle&>(effect->getDefaultParticleTemplate()); particle.setVelocity(osg::Vec3(0, 0, particleSpeed)); Nick -- trajce nikolov nick
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org