Hi guys, I am super noob for UE. I want to create a simple game with a plank as the Pawn that flaps up on key press and returns to normal postion on release. I created a BP_Pawn class and added cube mesh to it. Then added a camera component and cliked play. the game runs in default camera. I have also created a game mode class and choosen my pawn as the default pawn. Please help me to understand the problem here. Thanks in Advance.
Hi Kaldosal,
After creating the game mode, youâd need to set it in Edit â Project Settings â Maps & Modes. Once thatâs set pawns should spawn at player start locations.
ALTERNATIVELY
Drop the pawn in your level and change âAuto Possess Playerâ to âPlayer 0â
Let us know if youâre still having troubles!
Thank you that worked well!!
Did not work for me. Done anything.
Did u follow as mentioned above?
Try this
in the BeginPlay Event of your Pawn add a âSetViewTargetWithBlendâ Node.
you may need to deactivate the Context Sensitive search to find that nodeâŚ
as player controller, put in a GetPlayerController Node and leave the New Target as âSelfâ.
the Node automatically grabs the first camera of your Pawn Actor and sets it as new Viewport Cam.