Replies: 2 comments 2 replies
-
In order to make the particle system moving together with the MatrixTransform, you have to place the ModularEmitter as the transform's child, not the effect itself. |
Beta Was this translation helpful? Give feedback.
-
Thank you so much for your reply! I put the FireEffect's ModularEmitter into the MT, but unfortunately it doesn't work.
it doesn't work! The position has no change.
it doesn't work either. I've been stuck on this for days, so I did some research and read the source code of OSG, and found some interesting phenomena.
Here is the result. |
Beta Was this translation helpful? Give feedback.
-
Hi, everyone. I am using osg3.4 and osgearth2.7 to develop a digital 3D earth.I want to make a FireEffect(osgParticle::FireEffect) on the earth surface, and first problem occurred. when I used matrixtransform to transform the position of the FireEffect, it didn't work. so I had to use the FireEffect::setposition to set it's position. I want to know the matrixtransform didn't work? Does anyone know that?
After that I want to update the position of the FireEffect. But when I change the FireEffect's position, it will be regenerated. Does anyone know how I can do?
thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions