Hello!
I have been creating WASD-controls with this tutorial A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums
and the following error message appears:
(character name is Puncher)
Error 3 error C2664: ‘FInputAxisBinding &UInputComponent::BindAxis(const FName,UserClass ,void (__cdecl APuncher:: )(Param1Type))’ : cannot convert argument 3 from ‘float (__cdecl APuncher::* )(float)’ to ‘void (__cdecl APuncher::* )(Param1Type)’ C:\Users[CENCORED]\Documents\Unreal Projects\Oakpunch\Source\Oakpunch\Puncher.cpp 24 1 Oakpunch
I assume it could be a missing letter somewhere, but there isn’t those typo lining anywhere but in the voidnames of “MoveRight” and “MoverForward”, + in the “->” of
InputComponent->BindAxis(“MoveForward”, this, &APuncher::MoveForward);
InputComponent->BindAxis(“MoveRight”, this, &APuncher::MoveRight);
I would love to get someone with more knowledge on the subject to share some of it with me, thanks!
-DoctorPC