[osg-users] Explosion effect under an osg::MatrixTransform

2010-01-29 Thread Tugkan Calapoglu
Hi, in one of our old applications we use osgParticle::ExplosionEffect which is made child to an osg::MatrixTransform. This code is relatively old and was tested with OSG 0.99. The problem is, with new OSG (2.9.6) explosion effect is always at the center of the scene (at 0,0,0) even though

Re: [osg-users] Explosion effect under an osg::MatrixTransform

2010-01-29 Thread Robert Osfield
Hi Tugkan, To get particle effects to work below a transform you set up a ParticleSystem below the root node in the world coordinate frame, and set the ParticleEffect to use this. Have a look at the osgparticleeffects example source code for instruction on this. Robert. On Fri, Jan 29, 2010 at