pro.calculateFriction