Skip to content

Commit

Permalink
Acceleration applies if starting speed was 0.
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Start committed Sep 18, 2014
1 parent 7ccf010 commit 530b5b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/pixi-particles.js
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@
this.scale.x = this.scale.y = scale;
}
//handle movement
if(this._doSpeed || this.startSpeed !== 0)
if(this._doSpeed || this.startSpeed !== 0 || this.acceleration)
{
//interpolate speed
if (this._doSpeed)
Expand Down
Loading

0 comments on commit 530b5b7

Please sign in to comment.