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

Particles2d random initial velocity doesn't seem to do anything #10668

Closed
razcore-rad opened this issue Aug 26, 2017 · 3 comments
Closed

Particles2d random initial velocity doesn't seem to do anything #10668

razcore-rad opened this issue Aug 26, 2017 · 3 comments

Comments

@razcore-rad
Copy link
Contributor

razcore-rad commented Aug 26, 2017

Operating system or device, Godot version, GPU Model and driver (if graphics related):
Ubuntu 17.04 - Godot v3.0.alpha.custom_build.3ae1cff

Issue description:

  1. Particles2D has a texture property with horizontal/vertical divisions. It implies it can use a picture, split it in tiles and randomly choose from those tiles. This does not happen, only first tile is used. (done by ddadc78)
  2. random initial velocity doesn't seem to do anything

See attached project: godot-dbg.zip

edit: Oh, and:
3. if particles system isn't inside screen area it doesn't seem to work, particles should be emitted even if particle system outside of the rendering region (screen), like in the example above, you want the clouds to form before entering the picture, just try moving the particle system outside of the screen and run the project

nevermind 3... I guess it has to do with the visibility rect setting

@akien-mga akien-mga added this to the 3.0 milestone Aug 31, 2017
@reduz reduz closed this as completed in ddadc78 Sep 6, 2017
@razcore-rad
Copy link
Contributor Author

@reduz, the commit seems to fix 1. but what about 2.? The random initial velocity...

@bojidar-bg
Copy link
Contributor

Reopening as not fully fixed, as per above comment (would edit OP accordingly)

@bojidar-bg bojidar-bg reopened this Sep 11, 2017
@bojidar-bg bojidar-bg changed the title particles2d couple of issues Particles2d random initial velocity doesn't seem to do anything Sep 11, 2017
@reduz
Copy link
Member

reduz commented Nov 6, 2017

Particle code is the same for 2D and 3D (with a toggle to use them in 2D). Something may be working funny with the restart code, which is here:

https://github.com/godotengine/godot/blob/master/scene/3d/particles.cpp#L624

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

No branches or pull requests

4 participants