Merge pull request #25208 from clayjohn/angular_velocity_cpu_2d
Properly initialize angular_velocity in cpuparticles2d
This commit is contained in:
commit
34d0585618
1 changed files with 1 additions and 0 deletions
|
@ -1378,6 +1378,7 @@ CPUParticles2D::CPUParticles2D() {
|
||||||
set_param(PARAM_INITIAL_LINEAR_VELOCITY, 1);
|
set_param(PARAM_INITIAL_LINEAR_VELOCITY, 1);
|
||||||
//set_param(PARAM_ORBIT_VELOCITY, 0);
|
//set_param(PARAM_ORBIT_VELOCITY, 0);
|
||||||
set_param(PARAM_LINEAR_ACCEL, 0);
|
set_param(PARAM_LINEAR_ACCEL, 0);
|
||||||
|
set_param(PARAM_ANGULAR_VELOCITY, 0);
|
||||||
set_param(PARAM_RADIAL_ACCEL, 0);
|
set_param(PARAM_RADIAL_ACCEL, 0);
|
||||||
set_param(PARAM_TANGENTIAL_ACCEL, 0);
|
set_param(PARAM_TANGENTIAL_ACCEL, 0);
|
||||||
set_param(PARAM_DAMPING, 0);
|
set_param(PARAM_DAMPING, 0);
|
||||||
|
|
Loading…
Reference in a new issue