So in this lesson, we checked if the controller’s thumbstick’s axis value was above a certain ‘deadzone’ value by taking the x-axis and y-axis values of the thumbstick, combining both values into a 2D vector, then finding the length of that 2D vector. Then the length of the 2D vector was checked to see if it was larger than the dead zone value.
My question is, instead of combing both x and y axis values into a 2D vector, can’t we just directly compare each raw x-axis and y-axis value against the dead zone value?