local function I(I,q)return I.Magnitude>q and I.Unit*q or I end
-- Clamp a vector to a max given magnitude:
local function ClampMagnitude(vector, mag)
	return (vector.Magnitude > mag and (vector.Unit * mag) or vector)
end
