Skip to content

Commit

Permalink
* 优化damp参数
Browse files Browse the repository at this point in the history
  • Loading branch information
voiddog committed May 28, 2018
1 parent 439d3e5 commit db070f8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ void setValueThreshold(float threshold) {
private void init() {
springForce = new SpringForce()
.setDampingRatio(SpringForce.DAMPING_RATIO_NO_BOUNCY)
.setStiffness(SpringForce.STIFFNESS_MEDIUM);
.setStiffness(600f);
flingForce = new DragForce();
flingForce.setValueThreshold(getValueThreshold());
}
Expand Down

0 comments on commit db070f8

Please sign in to comment.