My class is based on AActor doesn’t it mean that InputComponent is included somewhere in it hierarchy? I am going through Rama Survival tutorial and his source codes:
There is no InputController include in his code.
This is output from building
1>D:\Dokumenty\Projects\Unreal Engine\RYFT\Source\RYFT\PlayerCharacter.cpp(48): error C2027: use of undefined type 'UCharacterMovementComponent'
1>C:\Program Files\Epic Games\UE_4.16\Engine\Source\Runtime\Engine\Classes\GameFramework/Character.h(24): note: see declaration of 'UCharacterMovementComponent'
1>D:\Dokumenty\Projects\Unreal Engine\RYFT\Source\RYFT\PlayerCharacter.cpp(48): error C2227: left of '->IsMovingOnGround' must point to class/struct/union/generic type
1>D:\Dokumenty\Projects\Unreal Engine\RYFT\Source\RYFT\PlayerCharacter.cpp(48): error C2227: left of '->IsFalling' must point to class/struct/union/generic type
1>D:\Dokumenty\Projects\Unreal Engine\RYFT\Source\RYFT\PlayerCharacter.cpp(48): error C2789: 'bLimitRotation': an object of const-qualified type must be initialized
1>D:\Dokumenty\Projects\Unreal Engine\RYFT\Source\RYFT\PlayerCharacter.cpp(48): note: see declaration of 'bLimitRotation'
1>D:\Dokumenty\Projects\Unreal Engine\RYFT\Source\RYFT\PlayerCharacter.cpp(52): error C2065: 'Val': undeclared identifier
1>ERROR : UBT error : Failed to produce item: D:\Dokumenty\Projects\Unreal Engine\RYFT\Binaries\Win64\UE4Editor-RYFT.pdb