distV

fun distV(vector: InputSignal, deadZone: Float = axisDeadZone): Float

Calculates the distance between each axes in this vector InputSignal and returns the highest distance.

Return

the highest distance calculated between both axes in the vector

See also

Parameters

vector

the vector input signal

deadZone

the threshold a GameAxis needs to surpass in order to return a value other than 0.