I am trying to apply a transform to a particle system like this:
_transform = new osg::MatrixTransform; _transform->setMatrix(osg::Matrix::rotate(fromDir, toDir)); _geode = new osg::Geode; _geode->addDrawable(particleSystem.get()); _transform->addChild(_geode.get()); addChild(_transform.get()); Unfortunately adding the transform does not transform my particles... However if I add another geode like this before the previous code: osg::ref_ptr<osg::Geode> pDummy = new osg::Geode; pDummy->addDrawable(particleSystem.get()); addChild(pDummy.get()); Then I have one set of transformed particles and one set of untransformed ones. Probably I am missing something simple here ? Anyone has a suggestion ? cheers ! bill
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

