Ok, I am running into some issue when using UE 4 (4.19) on up.
Code that works just fine in 4.18 somehow will not wok in 4.19 on up.
I am coding a function called MoveForward, I start off using (playerinputcomponents, bind it to an axis and then pass in the following parameters and here is the line of code.
playerinputcomponent->bindaxis(“MoveForward”. this, &ASCharacter::MoveForward I have this in my .cpp file.
Now, I jump over to the header file and my new function to “protected” since I want the player to be the only one that will use it,
here is the code.
I create my function
void MoveForward(float, Value);
ok, after that I create the implementation for it.
Now, this code works in 4.18, but when I upgraded to 4.19 it told me playerinputcomponent does not take 3 parameters anymore…
Why in the world would they change this??