-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好,怎么调整下拉时的阻尼系数,看了源码,没有发现这个变量的设置 #9
Comments
你好,在这里设置的
希望能帮到你 |
能不能提供现有一个接口或者方法出来修改下拉的阻尼系数,因为我是直接用的gradle方式加载的库,不然只有把你的库手动导入进来修改。 |
可以的 |
已在1.1.4的版本中增加,感谢您的反馈 |
谢谢 |
打扰了,更新了1.1.4 发现有个setPUll_RESISTANCE(),但是设置任何double值都阻尼没变化,还有这个方法名能不能小写,public static void setPUll_RESISTANCE(double PUll_RESISTANCE) { |
PUll_RESISTANCE 是属于static的,我改成对象的了,公式是y = x - (x/a)^2 a是PUll_RESISTANCE 这阻尼滑动效果我也是参考网上一位大神的,1.1.5已修改,希望对你有帮助 |
你看下,如果有需要的话,我暴露个返回最终y值的接口出来给你,里面的阻尼公示由你们来定义 |
No description provided.
The text was updated successfully, but these errors were encountered: