diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-01-22 07:45:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-22 07:45:00 +0100 |
commit | 34d0585618d848ea67d0773cffd45c8b2428d793 (patch) | |
tree | 6505de9378c86689af0cb753fe68959e98cb06be /scene/2d/cpu_particles_2d.cpp | |
parent | 0b0dba38c766a06f169fb492cc6f8c7c3e444de5 (diff) | |
parent | af92ade7283065f1daf72152c25a18f81ae50ee1 (diff) |
Merge pull request #25208 from clayjohn/angular_velocity_cpu_2d
Properly initialize angular_velocity in cpuparticles2d
Diffstat (limited to 'scene/2d/cpu_particles_2d.cpp')
-rw-r--r-- | scene/2d/cpu_particles_2d.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/2d/cpu_particles_2d.cpp b/scene/2d/cpu_particles_2d.cpp index 36b900bf82..7ace37aaf3 100644 --- a/scene/2d/cpu_particles_2d.cpp +++ b/scene/2d/cpu_particles_2d.cpp @@ -1378,6 +1378,7 @@ CPUParticles2D::CPUParticles2D() { set_param(PARAM_INITIAL_LINEAR_VELOCITY, 1); //set_param(PARAM_ORBIT_VELOCITY, 0); set_param(PARAM_LINEAR_ACCEL, 0); + set_param(PARAM_ANGULAR_VELOCITY, 0); set_param(PARAM_RADIAL_ACCEL, 0); set_param(PARAM_TANGENTIAL_ACCEL, 0); set_param(PARAM_DAMPING, 0); |