Unreal Engine 4 (UE4) How to receive an input from player controller in the class blueprint graph - input within onComponentBeginOverlap example (single player)

From the overlap (onComponentBeginOverlap), drag from the execute white pin and release to get the context menu. Type input and select enable input. An Enable Input node will be presented. To establish a player controller to this input node, drag a wire from the player controller pin and release and type player and select get player controller from the options. This will work with single player, so the player index is 0.



Back to blog

Leave a comment

Please note, comments need to be approved before they are published.