Hey guys ,I’ve been trying to find a C++ function that matches a blueprint node:
I’ve tried calling a few functions in C++:
float avalue = GetInputAxisValue("MoveRight");
float bvalue = InputComponent->GetAxisValue("MoveRight");
The thing is that I get a value between 0 or 1 and the blueprint node actually returns the ax and how pressed is it, so if you’re holding the stick halfway in the X, you’ll get 0.5f instead of 1.
Thank you in advance!