Hello,
I’m new to UE4 and I’m trying to work on a game like “Arkanoid” with Blueprints, because I thought that wouldn’t be too hard for the start.
Well, I was wrong …
I can’t even make my custom pawn blueprint (NOT character BP, for I don’t have a skeleton mesh but a simple bar - the “Pillar” static mesh from the standard content as the player) “MyPawn” to be controllable or moving.
I decided to take the Side Scroller Blueprint template to start with. In the world settings, I changed the “Default Pawn Class” to “MyPawn”, after changing “Game Mode” to “MyGame”.
For the Eventgraph, I copied the “InputAxis MoveRight”-Event-Node as well as the “Add Movement Input”-Node fom MyCharacter", since that is the part that is responsible for the movement, I thought.
I noticed, there is a “NativeCharacterMovement” component in the Components of “MyCharacter”, so I decided to copy/paste it into “MyPawn”, but that didn’t seem to make any difference …
When Debugging the Blueprint “MyPawn”, I can see a constant flow from InputAxis MoveRight to Add Movement Input, but the pillar doesn’t move, when pressing A or D.
When I hit “Play”, my Pillar appears at the “PlayerStart” mark, but nothing else happens.
The official documentation didn’t help me and I was googling for days to find anyone who had shown or explained clearly how to make a custom pawn controlled by the player.
The next problem I ran into is, how to make a cameraActor the “Main” camera for the level, because I want to have a single, not moveable camera. The templates from ue4 don’t cover that and I didn’t find an example yet, where there’s a fixed camera at a single point from the beginning.
Can someone help me?
Thank you!