Merge pull request #25208 from clayjohn/angular_velocity_cpu_2d

Properly initialize angular_velocity in cpuparticles2d
This commit is contained in:
Rémi Verschelde 2019-01-22 07:45:00 +01:00 committed by GitHub
commit 34d0585618
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);