mirror of https://github.com/godotengine/godot
properly initialize angular_velocity in cpuparticles2d
This commit is contained in:
parent
fdd7ed36bf
commit
af92ade728
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue