I don’t know if this is the right place to ask this question, but I’m getting started with this development, so I choose this place.
I’m developing a Tetris like game with Unreal 5.2.1.
I’m going to use a GameMode to drop the blocks. I know that the player can control the dropping blocks with a keyboard, but I’m confuse it this block is the Default Pawn defined on the GameMode class or there is a default pawn representing the player and the blocks are actors.
If the player a key then it will move the pawn instead of the falling block. In other words, I want to move the falling block when the player press a key, but I don’t know if it will move the pawn instead.
Maybe I can move another actor instead of the default pawn when the player press a key.
The player would be possessing the pawn in this case; a pawn can manipulate objects, which in this case would be the falling blocks. You would just want to choose a method for passing references to these objects to the player (Blueprint Interface, Event Dispatcher, etc.) so they can interact.
the Player Controller spawns and moves falling actors pieces
the Pawn with a camera watches it all happen
If you do not want the pawn to move, don’t move it. Simply do not set it up - it’s not automatic…
Technically, you may not even need a custom player controller. You could just have the Pawn spawn and move falling pieces. Tetris is not a game where we possess different pawns.