local function k(k,d)return function(N)return math.clamp(N,k,d)end end local function d(k)return math.floor(k)end local function N(k)return function(d)return d+k end end return{Damping=k(0,1);AnchorDepth=d,Stiffness=k(0,1),Inertia=k(0,1),Elasticity=k(0,1);BlendWeight=k(0,1);UpdateRate=k(0,165),WindStrength=k(0,10),Gravity=N(Vector3.new(0,-0.01,0))}
local function Clamp(min, max)
	return function(value)
		return math.clamp(value, min, max)
	end
end

local function Floor(value)
	return math.floor(value)
end

local function Offset(offset)
	return function(value)
		return value + offset
	end
end

return {
	Damping = Clamp(0, 1),
	AnchorDepth = Floor,
	Stiffness = Clamp(0, 1),
	Inertia = Clamp(0, 1),
	Elasticity = Clamp(0, 1),
	BlendWeight = Clamp(0, 1),
	UpdateRate = Clamp(0, 165),
	WindStrength = Clamp(0, 10),

	Gravity = Offset(Vector3.new(0, -0.01, 0)),
}
