A different way to check of thumbstick is above the dead zone

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?

What course is this for?

The blueprint course. The lesson in concern is in the section ‘Mars Marine’ and the lesson is “Thumbstick Deadzone”.

You could test each axis individually if you wanted.

Privacy & Terms