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.
For example.
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…
Yeah, I can understand adding to the code base, but when you take existing functions, that are at the engine at a certain version, and make changes to the parameters, thus breaking what you already have in place…I am not so sure why that is being done, other than things at the global level.
I guess they know what they are doing though, since they RULE the Planet.