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

CAEmitterCell in a circular path not around the layer #1

Closed
JulesMoorhouse opened this issue Jun 12, 2014 · 1 comment
Closed

CAEmitterCell in a circular path not around the layer #1

JulesMoorhouse opened this issue Jun 12, 2014 · 1 comment

Comments

@JulesMoorhouse
Copy link

I'm trying to create an effect where the particle is animated in a circular path, instead of around the rectangular layer.

I'm sure it must just be something simple, but I can't find any references to it.

I can find references to animating the particle in a circular animation around a rectangular path, but not the circular path.

Any ideas?

@lichtschlag
Copy link
Owner

i don't think you can do that, that's a bit to deterministic for the emitter classes. I'd suggest to try an animation along a path. Try to make the emitterLayer very small and move it in a circle. Or try SpriteKit and try the same with an emitter node. The benefit of Spritekit is that it is easier to move things on a path.

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

2 participants