<div dir="ltr"><div>Hi Community,</div><div><br></div><div>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</div><div><br></div><div><div>osg::ref_ptr<osgParticle::ParticleEffect> effect;</div><div>effect = new osgParticle::SmokeEffect(osg::Vec3(0, 0, 0), scale, intensity);</div><div>osgParticle::Particle& particle = const_cast<osgParticle::Particle&>(effect->getDefaultParticleTemplate());</div><div>particle.setVelocity(osg::Vec3(0, 0, particleSpeed));</div></div><div><br></div><div>Nick</div><div><br></div>-- <br><div class="gmail_signature">trajce nikolov nick<br></div>
</div>