-- Gets the acceleration back as a Vector3, averages it and then determines if the 
-- average movement is over a minimum sensitivity

local function changeAcceleration(acceleration)
	if cooldown then return end
	if isInTutorial() then return end
		
	local accel = acceleration.Position
	local magnitude = accel.Magnitude
	-- Used to debug Accelerometer 
	--debugLabel.Text = "Accel: " .. string.format("%.2f", magnitude)

	if (magnitude > sensitivity) then
		registerMovement(magnitude)
	end
end

