I wanna to check if the value of StickX from the function
GetInputAnalogStickState(EControllerAnalogStick::Type WhichStick, **float &StickX**, float &StickY)
is greater than 0.5, but I don’t know how to get this value.
How to get this output?
I wanna to check if the value of StickX from the function
GetInputAnalogStickState(EControllerAnalogStick::Type WhichStick, **float &StickX**, float &StickY)
is greater than 0.5, but I don’t know how to get this value.
How to get this output?
Hello. You have to use following syntax
float XValue;
float YValue;
GetInputAnalogStickState(CAS_LeftStick, XValue, YValue);
/* Now XValue and YValue contains stick position */
Ok. Working perfectly. Thanks a lot!