getDurationByDistance

fun getDurationByDistance(distance: Float, frictionCoeff: Float = 1f): Long

根据位移距离计算持续时间

Parameters

distance

位移距离

frictionCoeff

摩擦系数