Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Animating the emitter also animates the particles #17

Open
andybak opened this issue Dec 19, 2016 · 2 comments
Open

Animating the emitter also animates the particles #17

andybak opened this issue Dec 19, 2016 · 2 comments

Comments

@andybak
Copy link

andybak commented Dec 19, 2016

I was trying the standard "object leaves a trail of particles" effect but found that the particles were rendered relative to the emitter - even if the emitter moved - rather than keeping their own position and velocity in world space.

Is this a limitation of the underlying three.js library?

@weddingdj
Copy link
Contributor

Good question, but I don't have an answer to it. Maybe you could ask your question on the particle engine page https://github.com/squarefeet/ShaderParticleEngine . I just created a component for a-frame using that particle engine.

@Vamoss
Copy link

Vamoss commented Jan 24, 2018

particlesEl.components['particle-system'].particleGroup.emitters[0].position.value = new THREE.Vector3(1, 2, 3);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants