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

Fix randomisation of initial particle velocity #12706

Merged

Conversation

MillionOstrich
Copy link
Contributor

@MillionOstrich MillionOstrich commented Nov 6, 2017

Fixes #10668

initial_linear_velocity_random (initial_velocity_random) appears to be a value between 0 and 1 rather than an unbounded number which can be added to initial_linear_velocity, so changed the code to use the mix function which is consistent with how other random ranges (e.g. acceleration) are handled.

@groud groud added this to the 3.0 milestone Nov 6, 2017
@akien-mga akien-mga merged commit 5fb359d into godotengine:master Nov 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants