Unreal-Engine-C-Programming-Pawan And Input-Getting-With-part-5/10

First We Make Pawn Class Pawn means Actor this controlled by Input with Humans or AI Second Select Pawn Create! Open Header file UPROPERTY(EditAnywhere) USceneComponent * OurVisibleComponent; Goes to cpp file Include files #include "Components/StaticMeshComponent.h" #include "Components/InputComponent.h" AutoPossessPlayer = EAutoReceiveInput::Player0; Setup this code AMyPawnWithInput::AMyPawnWithInput() { // Set this pawn to call Tick() every frame. You can turn this //off to improve performance if you don't need it. PrimaryActorTick.bCanEverTick = true ; AutoPossessPlayer = EAutoReceiveInput::Player0; RootComponent = CreateDefaultSubobject < USceneComponent > (TEXT( "RootComponent" )); // Create a camera and a visible object UCameraComponent * OurCamera = CreateDefault...