-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Fixed texture animation speed when using random lifetime #55271
Fixed texture animation speed when using random lifetime #55271
Conversation
… gpu + cpu) as mentioned here: godotengine#54993
b8be54a
to
459e2a4
Compare
I'm not sure about all the default value changes. The default settings for a 3D particle IMO should not be to have a fixed linear, orbital, angular velocity + accelerations. It should be to have no start parameters of its own, and just be subjected to gravity. That's how it works in 2D too. This is the current behavior (GPU on left, CPU on right): If I understand this PR correctly (didn't compile to test), this would become: |
There's a proposal about this, but no consensus was reached yet: godotengine/godot-proposals#2533 This needs to be addressed in a different PR if we ever reach a consensus. |
I actually didn't change any of the default parameters. only the The default behaviour of a CPUParticles3D system won't be any different. |
Ah I see, those are factors applied to the actual properties. Makes sense then.
That kind of information is always worth stating in the PR description to help reviewers understand the motivation for a change. The codebase is big and we can't do a deep dive for all PR reviews, so any context you possess after working on this code is good to share :) (to a reasonable extent of course, we also don't have time to read a 5 pages book ;) ). |
Thanks! |
Thanks for the feedback, now that you say it... It sound very obvious 😅 |
Would you be able to make a dedicated PR for |
Sure, I can do that 👍 |
I had to close the first Pull Request for this fix as it was from my master branch...
Sorry for the extra work!
The old Pull Request was this one:
#54994