function SpringUtils.getVelocityAdjustment(M,D,e)assert(M,"\066\097\100 \118\101\108\111\099\105\116\121")assert(D,"\066\097\100 \100\097\109\112\101\110")assert(e,"\066\097\100 \115\112\101\101\100")return M*((2*D)/e)end

function SpringUtils.getVelocityAdjustment(velocity, dampen, speed)
	assert(velocity, "Bad velocity")
	assert(dampen, "Bad dampen")
	assert(speed, "Bad speed")

	return velocity*(2*dampen/speed)
end
