axis
Returns the strength of this InputSignal as an axis. This will take the positive axis and subtract it by the negative axis. This is the same as doing strength(positive) - strength(negative)
. Requires an axis to have been added with the specified type.
Note: This does take into account that a single GameAxis can return negative and positive values which is no different than just using strength for the GameAxis.
Return
a value between -1
to 1
See also
Parameters
type
the InputSignal strength to check
deadZone
the threshold a GameAxis needs to surpass in order to return a value other than 0
.