Thats the third time today =/
Close your error log and never Open it again. If it Compiles successful everything is fine. Your Code looks correct to me, Intellisense is giving you a false error alarm. (if you got compile errors let me know what they say)
I have an error “pointer to incomplete class” when trying to bind axis:
void AAvatar::SetupPlayerInputComponent(class UInputComponent* PlayerInputComponent) { Super::SetupPlayerInputComponent(PlayerInputComponent); check(PlayerInputComponent); PlayerInputComponent->BindAxis("Forward", this, &AAvatar::MoveForward); PlayerInputComponent->BindAxis("Right", this, &AAvatar::MoveRight); }
Hm. Working. Sorry for false alarm Thanks