I have created several emitters using the Particles example from r167 as a model. However, when I attempt to use the Particles example with r168, I get an error message stating that “rotateUV is not a function”. Is there a fix for this?
The reference to rotateUV appears in this line:
const textureNode = texture( map, uv().rotateUV( timer.mul( rotateRange ) ) );
[EDIT: I initially could not find the Particles example because it had been moved. But my recommendations below still stand.]
p.s. I would recommend keeping the Particles example as a permanent example. It is not as fancy as some of the new examples, but it is a basic building block for many programs. I have used it to create volcano smoke, a jet exhaust and a ship wake. It is a standard part of many war games, etc.
Also note that I created a version that does not disappear when the origin goes off-screen, by using a three.js Group, some changes suggested by PavelBoytchev and dumb luck. That might be a feature worth preserving through future changes.