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

SPE.valueOverLifetimeLength = 3 doesn't work #79

Open
Joshy-dev opened this issue Oct 26, 2015 · 9 comments
Open

SPE.valueOverLifetimeLength = 3 doesn't work #79

Joshy-dev opened this issue Oct 26, 2015 · 9 comments

Comments

@Joshy-dev
Copy link

According to the documentation, SPE.valueOverLifetimeLength should be >=3 or <=4, but setting it to 3 doesn't seem to work (i.e. no particles are emitted).

Also is it possible for values greater than 4 to work? I tried it for kicks, and it is (expectedly) buggy.

@squarefeet
Copy link
Owner

Could you share your group and emitter settings, and the OS and browser version you're seeing the issue on?

@Joshy-dev
Copy link
Author

Simple group with everything default except texture, and then emitter with particle count 10, and a position value and size value (no arrays). Everything works when SPE.valueOverLifetimeLength = 4, but nothing happens when SPE.valueOverLifetimeLength = 3. This is on Chrome 46 in Windows 7 using r72 three.js

@squarefeet
Copy link
Owner

Could you paste the code here or in a gist?

@Joshy-dev
Copy link
Author

https://gist.github.com/jungsosh/3324838d0baa58e08d2e

You'll have to put a texture in loadTexture. valueOverLifetimeLength is set to 3 in that example.

@squarefeet
Copy link
Owner

Brilliant, thanks. I'll have a look tonight and see what's going on.

@squarefeet
Copy link
Owner

Hm, I've created the following test (based on your rotation gist), and set the valueOverLifetime to 3, but it works fine for me (OSX, Chrome latest): https://gist.github.com/squarefeet/608c0cd9ff02a60a1c2e

I'll try it on Win7 and see if that's the issue...

@Joshy-dev
Copy link
Author

I copied your code on my machine and still running into the same issue where setting valueOverLifetimeLength to 3 doesn't work, but 4 does... strange bug. I will try on OSX if I get the chance.

@squarefeet
Copy link
Owner

Any errors in the console?

@Joshy-dev
Copy link
Author

Nope no console errors.

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