You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It doesn't happen in 3.1.1-stable, but does happen in 3.1.2-stable
OS/device including version:
Windows 10 64bit
Core i5-2400
GTX 750
happens on both GLES2 and GLES3
Issue description:
What expected:
Particles spawn and update their color from color_ramp throughout their life
What happened:
At frames when transform of CPUParticles2D node was updated then all particles would show wrong color from color_ramp, as though instead of particles changing their color, it's the emitter that changes color(see GIF). That only happens when I play the scene, not in editor, and not if transform is updated in _physics_process(), and only after at all particles were emitted.
Here particles move from left to right, bottom one display the correct and expected behaviour, the top one actual behaviour
The particles on the top don't change color throughout their life, they just spawn with different colors
also GIF
Steps to reproduce:
Create 2d scene
Add CPUParticles2D (Particles2D work fine) with local coords off, lifetime draw order, scale 60, 0 spread, 0 gravity, intial velocity 250 and color_ramp with just 2 different colors like red/blue
Add script that updates transform of that CPUParticles2D node (or of its parent, or its parent's parent, etc) in _process()
Play, as it doesn't happen in editor
Wait until ALL particles are emitted (until particles die and respawn) as that starts to happen only after that moment
Minimal reproduction project:
CPUParticles2dBug.zip
Play project scene
It contains 3 instances of CPUParticles2D with top one being updated every frame, botton one not updated at all, and middle one toggling between updated and not updated every half a second
The text was updated successfully, but these errors were encountered:
Godot version: 3.3 RC 8
It doesn't happen in
3.1.1-stable
, but does happen in3.1.2-stable
OS/device including version:
Windows 10 64bit
Core i5-2400
GTX 750
happens on both GLES2 and GLES3
Issue description:
What expected:
Particles spawn and update their color from color_ramp throughout their life
What happened:
At frames when transform of CPUParticles2D node was updated then all particles would show wrong color from color_ramp, as though instead of particles changing their color, it's the emitter that changes color(see GIF). That only happens when I play the scene, not in editor, and not if transform is updated in
_physics_process()
, and only after at all particles were emitted.Here particles move from left to right, bottom one display the correct and expected behaviour, the top one actual behaviour
The particles on the top don't change color throughout their life, they just spawn with different colors
also GIF
Steps to reproduce:
_process()
Minimal reproduction project:
CPUParticles2dBug.zip
Play project scene
It contains 3 instances of CPUParticles2D with top one being updated every frame, botton one not updated at all, and middle one toggling between updated and not updated every half a second
The text was updated successfully, but these errors were encountered: