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 11:34 AM, Tugkan Calapoglu tug...@vires.com wrote:
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 matrix transform has a
translation matrix in it. It looks like explosion effect is not affected
by the parent transforms anymore.
Is there a way to change this?
Regards,
tugkan
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org